Skip to content

Commit

Permalink
Merge pull request #105 from piercefreeman/feature/python-310
Browse files Browse the repository at this point in the history
Initial python3.10 support
  • Loading branch information
piercefreeman authored May 2, 2024
2 parents 8415e29 + fad9ec8 commit 0822cd4
Show file tree
Hide file tree
Showing 29 changed files with 735 additions and 403 deletions.
34 changes: 31 additions & 3 deletions .github/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Pierce Freeman <[email protected]>"]
readme = "README_SCRIPTS.md"

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.10"
packaging = "^24.0"
toml = "^0.10.2"

Expand Down
21 changes: 17 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

services:
docker:
Expand Down Expand Up @@ -96,14 +96,20 @@ jobs:
GOMODCACHE: ${{ env.GOMODCACHE }}

lint:
name: lint py${{ matrix.python-version }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: ${{ matrix.python-version }}

- name: install rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -303,7 +309,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: ${{ matrix.manylinux || 'auto' }}
args: -vv --release --out dist --interpreter ${{ matrix.interpreter || '3.11 3.12' }}
args: -vv --release --out dist --interpreter ${{ matrix.interpreter || '3.10 3.11 3.12' }}
rust-toolchain: stable
docker-options: -e CI -e CI_TARGET=${{ matrix.target }} -e GOARCH=${{ env.GOARCH }} -e CGO_ENABLED=${{ env.CGO_ENABLED }}
# Already defaults to build, but we make explicit here. Any arguments should
Expand Down Expand Up @@ -534,14 +540,21 @@ jobs:
# package, since if the main package fails we shouldn't yet bump the
# create-mountaineer-app version.
cma-test:
name: CMA Test - py${{ matrix.python-version }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: ${{ matrix.python-version }}

- name: install golang
uses: actions/setup-go@v3
Expand Down
11 changes: 7 additions & 4 deletions benchmarking/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion benchmarking/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Pierce Freeman <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.10"
locust = "^2.21.0"


Expand Down
Loading

0 comments on commit 0822cd4

Please sign in to comment.