Skip to content

Commit

Permalink
Merge pull request #136 from g4edge/py312
Browse files Browse the repository at this point in the history
Test on Python 3.12, fix distribute CI
  • Loading branch information
gipert authored Jan 8, 2024
2 parents 97480b9 + 266a60f commit a8987bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
MAKEFLAGS: -j${{ steps.cpu-cores.outputs.count }}

- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
path: wheelhouse/*.whl

Expand All @@ -53,12 +53,12 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.8.11
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = "error"
filterwarnings = ["error", "ignore::DeprecationWarning"]
log_cli_level = "info"
testpaths = "tests"

Expand Down Expand Up @@ -130,7 +130,6 @@ extend-ignore = [
"PT004", # Use underscore for non-returning fixture (use usefixture instead)
"RUF012", # Mutable class attributes should be annotated with typing.ClassVar
]
target-version = "py37"
src = ["src"]
unfixable = [
"T20", # Removes print statements
Expand All @@ -152,5 +151,5 @@ manylinux-x86_64-image = "g4edge/manylinux2014_x86_64:latest"
archs = ["auto"]

[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]
archs = ["x86_64"]
before-all = ".github/bin/install-deps-macos.sh"

0 comments on commit a8987bf

Please sign in to comment.