mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-22 16:25:30 +00:00
Update release for python3.12 windows (#1438)
Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
This commit is contained in:
20
.github/workflows/python-release.yml
vendored
20
.github/workflows/python-release.yml
vendored
@ -42,19 +42,19 @@ jobs:
|
|||||||
ls: dir
|
ls: dir
|
||||||
target: x86_64
|
target: x86_64
|
||||||
python-architecture: x64
|
python-architecture: x64
|
||||||
interpreter: 3.7 3.8 3.9 3.10 3.11
|
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
|
||||||
- os: windows
|
- os: windows
|
||||||
ls: dir
|
ls: dir
|
||||||
target: i686
|
target: i686
|
||||||
python-architecture: x86
|
python-architecture: x86
|
||||||
interpreter: 3.7 3.8 3.9 3.10 3.11
|
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
|
||||||
# - os: windows
|
# - os: windows
|
||||||
# ls: dir
|
# ls: dir
|
||||||
# target: aarch64
|
# target: aarch64
|
||||||
# interpreter: 3.11 3.12
|
# interpreter: 3.11 3.12
|
||||||
- os: macos
|
- os: macos
|
||||||
target: aarch64
|
target: aarch64
|
||||||
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 pypy3.10
|
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: i686
|
target: i686
|
||||||
@ -65,7 +65,7 @@ jobs:
|
|||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: armv7
|
target: armv7
|
||||||
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
|
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 3.13
|
||||||
# musllinux
|
# musllinux
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
@ -78,11 +78,11 @@ jobs:
|
|||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: ppc64le
|
target: ppc64le
|
||||||
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
|
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 3.13
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: s390x
|
target: s390x
|
||||||
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
|
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 3.13
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows
|
- os: windows
|
||||||
target: aarch64
|
target: aarch64
|
||||||
@ -102,7 +102,7 @@ jobs:
|
|||||||
- name: set up python
|
- name: set up python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.11"
|
python-version: "3.12"
|
||||||
architecture: ${{ matrix.python-architecture || 'x64' }}
|
architecture: ${{ matrix.python-architecture || 'x64' }}
|
||||||
|
|
||||||
- run: pip install -U twine
|
- run: pip install -U twine
|
||||||
@ -114,7 +114,7 @@ jobs:
|
|||||||
working-directory: ./bindings/python
|
working-directory: ./bindings/python
|
||||||
manylinux: ${{ matrix.manylinux || 'auto' }}
|
manylinux: ${{ matrix.manylinux || 'auto' }}
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.7 3.8 3.9 3.10 3.11 3.12 pypy3.7 pypy3.8 pypy3.9 pypy3.10' }} ${{ matrix.extra-build-args }}
|
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.7 pypy3.8 pypy3.9 pypy3.10' }} ${{ matrix.extra-build-args }}
|
||||||
rust-toolchain: stable
|
rust-toolchain: stable
|
||||||
docker-options: -e CI
|
docker-options: -e CI
|
||||||
|
|
||||||
@ -165,7 +165,7 @@ jobs:
|
|||||||
- name: Install Python
|
- name: Install Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.12"
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
|
||||||
- name: Retrieve all wheels
|
- name: Retrieve all wheels
|
||||||
@ -178,4 +178,4 @@ jobs:
|
|||||||
working-directory: ./bindings/python
|
working-directory: ./bindings/python
|
||||||
run: |
|
run: |
|
||||||
pip install twine
|
pip install twine
|
||||||
twine upload dist/* -u __token__ -p "$PYPI_TOKEN"
|
twine upload dist/* -u __token__ -p "$PYPI_TOKEN"
|
Reference in New Issue
Block a user