Skip to content

Commit

Permalink
Do not push wheels of Python future releases to PyPI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Jan 27, 2022
1 parent d7912dd commit 5e81b38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ jobs:
&& startsWith(github.ref, 'refs/tags')
&& startsWith(runner.os, 'Mac')
&& !startsWith(matrix.python-version, 'pypy')
&& ${{ matrix.python-version != "3.11.0-alpha.4" }}
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
Expand Down Expand Up @@ -451,6 +452,7 @@ jobs:
if: >
github.event_name == 'push'
&& startsWith(github.ref, 'refs/tags')
&& ${{ matrix.python-version != "3.11.0-alpha.4" }}
with:
user: __token__
password: ${{ secrets.TWINE_PASSWORD }}
Expand Down
4 changes: 2 additions & 2 deletions .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/c-code
[meta]
template = "c-code"
commit-id = "79f6cc516330a954879eec23d54efde76b7f8fca"
commit-id = "3f360e9660c26e54bbbe2f455584b91d3ba53d05"

[python]
with-appveyor = true
Expand Down Expand Up @@ -61,7 +61,7 @@ additional-install = [
" # works fine with non-editable installs.)",
" run: |",
" pip install -U wheel",
" pip install -U coverage",
" pip install -U --no-binary :all: coverage",
" pip install -U 'faulthandler; python_version == \"2.7\" and platform_python_implementation == \"CPython\"'",
" # Unzip into src/ so that testrunner can find the .so files",
" # when we ask it to load tests from that directory. This",
Expand Down

0 comments on commit 5e81b38

Please sign in to comment.