Skip to content

Commit

Permalink
Merge pull request #195 from benjeffery/3.11
Browse files Browse the repository at this point in the history
Python 3.11
  • Loading branch information
benjeffery authored Sep 4, 2023
2 parents 5971a71 + 9e3d078 commit 7c1eaa8
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python: [ 3.7, "3.10" ]
python: [ 3.7, 3.11 ]
os: [ macos-latest, ubuntu-latest, windows-latest ]
defaults:
run:
Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python: [3.7, 3.8, 3.9, "3.10"]
python: [3.7, 3.8, 3.9, "3.10", 3.11]
wordsize: [64]
steps:
- name: Checkout
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python: [3.7, 3.8, 3.9, "3.10"]
python: [3.7, 3.8, 3.9, "3.10", 3.11]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -114,7 +114,23 @@ jobs:
- name: Build wheels in docker
shell: bash
run: |
docker run --rm -v `pwd`:/project -w /project quay.io/pypa/manylinux2010_x86_64 bash docker/buildwheel.sh
docker run --rm -v `pwd`:/project -w /project quay.io/pypa/manylinux2014_x86_64 bash docker/buildwheel.sh
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11

- name: Run tests (3.11)
run: |
python -VV
# We install in this odd way to make sure we get both deps and a local kastore
pip install kastore --only-binary kastore -f python/dist/wheelhouse
pip uninstall -y kastore
pip install -v kastore --only-binary kastore -f python/dist/wheelhouse --no-index
python -c "import kastore"
pip install -r python/requirements/CI/tests/requirements.txt
python -m pytest -v python
- name: Set up Python 3.10
uses: actions/setup-python@v2
Expand Down
12 changes: 6 additions & 6 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ queue_rules:
- "#changes-requested-reviews-by=0"
- status-success=Lint
- status-success=Python (3.7, macos-latest)
- status-success=Python (3.10, macos-latest)
- status-success=Python (3.11, macos-latest)
- status-success=Python (3.7, ubuntu-latest)
- status-success=Python (3.10, ubuntu-latest)
- status-success=Python (3.11, ubuntu-latest)
- status-success=Python (3.7, windows-latest)
- status-success=Python (3.10, windows-latest)
- status-success=Python (3.11, windows-latest)
- "status-success=ci/circleci: build"

pull_request_rules:
Expand All @@ -22,11 +22,11 @@ pull_request_rules:
- label=AUTOMERGE-REQUESTED
- status-success=Lint
- status-success=Python (3.7, macos-latest)
- status-success=Python (3.10, macos-latest)
- status-success=Python (3.11, macos-latest)
- status-success=Python (3.7, ubuntu-latest)
- status-success=Python (3.10, ubuntu-latest)
- status-success=Python (3.11, ubuntu-latest)
- status-success=Python (3.7, windows-latest)
- status-success=Python (3.10, windows-latest)
- status-success=Python (3.11, windows-latest)
- "status-success=ci/circleci: build"
actions:
queue:
Expand Down
1 change: 1 addition & 0 deletions docker/shared.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
PYTHON_VERSIONS=(
cp311-cp311
cp310-cp310
cp39-cp39
cp38-cp38
Expand Down
1 change: 1 addition & 0 deletions python/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
keywords =
binary store
Expand Down

0 comments on commit 7c1eaa8

Please sign in to comment.