Skip to content

Commit

Permalink
Remove python 3.7 and add python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe committed Aug 29, 2023
1 parent fd0465c commit d1e696a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: "3.7"
python-version: "3.8"

- name: Install build tools (pep517 compatible)
run: >-
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/run-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,14 @@ jobs:
runs-on:
intel: [windows-latest]
python:
- major-dot-minor: '3.7'
matrix: '3.7'
- major-dot-minor: '3.8'
matrix: '3.8'
- major-dot-minor: '3.9'
matrix: '3.9'
- major-dot-minor: '3.10'
matrix: '3.10'
# TODO: add back once we bump have a blockchain dep that supports 3.11
# - major-dot-minor: '3.11'
# matrix: '3.11'
- major-dot-minor: '3.11'
matrix: '3.11'
arch:
- name: ARM
matrix: arm
Expand All @@ -64,10 +61,6 @@ jobs:
matrix: windows
arch:
matrix: arm
- os:
matrix: macos
python:
matrix: '3.7'
- os:
matrix: macos
python:
Expand Down Expand Up @@ -104,12 +97,12 @@ jobs:
. ./venv/bin/activate
pip install ."[dev]"
./venv/bin/chia init
./venv/bin/py.test tests/ cdv/examples/tests -s -v --durations 0
./venv/bin/pytest tests/ cdv/examples/tests -s -v --durations 0
- name: Test code with pytest
if: runner.os == 'Windows'
shell: powershell
run: |
pip install .[dev]
chia init
py.test tests\ cdv\examples\tests -s -v --durations 0
pytest tests\ cdv\examples\tests -s -v --durations 0
2 changes: 1 addition & 1 deletion .github/workflows/test-blockchain-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
sed -i 's/chia-blockchain.*/chia-blockchain @ git+https:\/\/github.com\/Chia-Network\/chia-blockchain.git@main\",/g' setup.py
pip install ."[dev]"
./venv/bin/chia init
./venv/bin/py.test tests/ cdv/examples/tests -s -v --durations 0
./venv/bin/pytest tests/ cdv/examples/tests -s -v --durations 0

0 comments on commit d1e696a

Please sign in to comment.