Skip to content

Commit

Permalink
squashed changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Oct 4, 2024
1 parent 8fb2add commit ad29e93
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pypi_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ jobs:
include: ${{ steps.set-matrix.outputs.include }}
steps:
- uses: actions/checkout@v4
# Keep cibuildwheel version in sync with below
- name: Install cibuildwheel and pypyp
run: |
pipx install cibuildwheel==2.20.0
pipx install cibuildwheel==2.21.2
pipx install pypyp==1
- name: generate matrix
if: github.event_name != 'pull_request'
Expand All @@ -74,7 +75,7 @@ jobs:
| pyp 'json.dumps({"only": x, "os": "ubuntu-latest"})'
} | pyp 'json.dumps(list(map(json.loads, lines)))' > /tmp/matrix
env:
CIBW_BUILD: "cp39-* cp312-*"
CIBW_BUILD: "cp39-* cp313-*"
CIBW_ARCHS_LINUX: x86_64
- id: set-matrix
run: echo "include=$(cat /tmp/matrix)" | tee -a $GITHUB_OUTPUT
Expand All @@ -90,7 +91,8 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pypa/[email protected]
# Keep cibuildwheel version in sync with above
- uses: pypa/[email protected]
with:
only: ${{ matrix.only }}

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ macos-max-compat = true
enable-by-default = false
dependencies = [
"hatch-mypyc>=0.16.0",
"mypy==1.11.2",
"mypy @ git+https://github.com/python/mypy",
"click>=8.1.7",
]
require-runtime-dependencies = true
Expand Down Expand Up @@ -192,7 +192,7 @@ build-frontend = { name = "build", args = ["--no-isolation"] }
# Note we don't have a good test for this sed horror, so if you futz with it
# make sure to test manually
before-build = [
"python -m pip install 'hatchling==1.20.0' hatch-vcs hatch-fancy-pypi-readme 'hatch-mypyc>=0.16.0' 'mypy==1.11.2' 'click>=8.1.7'",
"python -m pip install 'hatchling==1.20.0' hatch-vcs hatch-fancy-pypi-readme 'hatch-mypyc>=0.16.0' 'mypy @ git+https://github.com/python/mypy' 'click>=8.1.7'",
"""sed -i '' -e "600,700s/'10_16'/os.environ['MACOSX_DEPLOYMENT_TARGET'].replace('.', '_')/" $(python -c 'import hatchling.builders.wheel as h; print(h.__file__)') """,
]

Expand Down

0 comments on commit ad29e93

Please sign in to comment.