Skip to content

Commit

Permalink
Merge pull request #13 from jawah/fix-deprecation-action
Browse files Browse the repository at this point in the history
Release 1.2.1
  • Loading branch information
Ousret authored Jan 17, 2025
2 parents e0d68b5 + 4dac187 commit 83cd05a
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 25 deletions.
54 changes: 34 additions & 20 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ jobs:
manylinux: ${{ matrix.manylinux }}
docker-options: -e UNSAFE_PYO3_SKIP_VERSION_CHECK=1
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: wheels
name: wheels-linux-${{ matrix.manylinux }}-${{ matrix.target }}-${{ matrix.python_version }}
path: dist

windows:
Expand All @@ -140,7 +140,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target: [x64, aarch64]
target: [x64, aarch64, x86]
python_version: ['3.10', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10', '3.13t']
exclude:
- target: aarch64
Expand All @@ -151,13 +151,23 @@ jobs:
python_version: 'pypy-3.9'
- target: aarch64
python_version: 'pypy-3.10'
- target: x86
python_version: 'pypy-3.7'
- target: x86
python_version: 'pypy-3.8'
- target: x86
python_version: 'pypy-3.9'
- target: x86
python_version: 'pypy-3.10'
- target: x86
python_version: '3.13t'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
if: matrix.python_version != '3.13t'
with:
python-version: ${{ matrix.python_version }}
architecture: x64
architecture: ${{ matrix.target == 'x86' && 'x86' || 'x64' }}
- uses: Quansight-Labs/setup-python@v5
if: matrix.python_version == '3.13t' && matrix.target == 'x64'
with:
Expand All @@ -182,9 +192,9 @@ jobs:
args: --release --out dist -i 3.13t
sccache: 'false'
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: wheels
name: wheels-windows-${{ matrix.target }}-${{ matrix.python_version }}
path: dist

macos:
Expand Down Expand Up @@ -216,9 +226,9 @@ jobs:
args: --release --out dist
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: wheels
name: wheels-macos-${{ matrix.target }}-${{ matrix.python_version }}
path: dist

sdist:
Expand All @@ -234,9 +244,9 @@ jobs:
command: sdist
args: --out dist
- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: wheels
name: wheels-sdist
path: dist

universal:
Expand All @@ -256,9 +266,9 @@ jobs:
- name: Build fallback wheel
run: python -m build
- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: wheels
name: wheels-universal
path: dist/*.whl

checksum:
Expand All @@ -271,9 +281,9 @@ jobs:
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Download distributions
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: wheels
pattern: wheels-*
path: dist
- name: Collected dists
run: |
Expand Down Expand Up @@ -305,11 +315,15 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
- name: Download distributions
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: wheels
pattern: wheels-*
path: dist
- name: "Upload dists to GitHub Release"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
gh release upload ${{ github.ref_name }} dist/* --repo ${{ github.repository }}
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
with:
command: upload
args: --non-interactive --skip-existing *
uses: "pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70" # v1.12.3
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
All notable changes to wassima will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## 1.2.1 (2025-01-17)

### Changed
- No longer fallback on certifi for Windows x86 CPython.

## 1.2.0 (2025-01-12)

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wassima"
version = "1.2.0"
version = "1.2.1"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.fb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ classifiers = [
]
dynamic = ["version"]
dependencies = [
"certifi; (platform_python_implementation != 'CPython' or python_full_version < '3.7.10') or (platform_system != 'Darwin' and platform_system != 'Windows' and platform_system != 'Linux') or (platform_machine != 'x86_64' and platform_machine != 's390x' and platform_machine != 'aarch64' and platform_machine != 'armv7l' and platform_machine != 'ppc64le' and platform_machine != 'ppc64' and platform_machine != 'AMD64' and platform_machine != 'arm64' and platform_machine != 'ARM64' and platform_machine != 'i686') or (platform_python_implementation == 'PyPy' and python_version >= '3.11')",
"certifi; (platform_python_implementation != 'CPython' or python_full_version < '3.7.10') or (platform_system != 'Darwin' and platform_system != 'Windows' and platform_system != 'Linux') or (platform_machine != 'x86_64' and platform_machine != 's390x' and platform_machine != 'aarch64' and platform_machine != 'armv7l' and platform_machine != 'ppc64le' and platform_machine != 'ppc64' and platform_machine != 'AMD64' and platform_machine != 'arm64' and platform_machine != 'ARM64' and platform_machine != 'i686' and platform_machine != 'x86') or (platform_python_implementation == 'PyPy' and python_version >= '3.11')",
]

[tool.hatch.version]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ classifiers = [
"Development Status :: 5 - Production/Stable"
]
dependencies = [
"certifi; (platform_python_implementation != 'CPython' or python_full_version < '3.7.10') or (platform_system != 'Darwin' and platform_system != 'Windows' and platform_system != 'Linux') or (platform_machine != 'x86_64' and platform_machine != 's390x' and platform_machine != 'aarch64' and platform_machine != 'armv7l' and platform_machine != 'ppc64le' and platform_machine != 'ppc64' and platform_machine != 'AMD64' and platform_machine != 'arm64' and platform_machine != 'ARM64' and platform_machine != 'i686') or (platform_python_implementation == 'PyPy' and python_version >= '3.11')",
"certifi; (platform_python_implementation != 'CPython' or python_full_version < '3.7.10') or (platform_system != 'Darwin' and platform_system != 'Windows' and platform_system != 'Linux') or (platform_machine != 'x86_64' and platform_machine != 's390x' and platform_machine != 'aarch64' and platform_machine != 'armv7l' and platform_machine != 'ppc64le' and platform_machine != 'ppc64' and platform_machine != 'AMD64' and platform_machine != 'arm64' and platform_machine != 'ARM64' and platform_machine != 'i686' and platform_machine != 'x86') or (platform_python_implementation == 'PyPy' and python_version >= '3.11')",
]
dynamic = ["version"]

Expand Down
2 changes: 1 addition & 1 deletion wassima/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations

__version__ = "1.2.0"
__version__ = "1.2.1"
VERSION = __version__.split(".")

0 comments on commit 83cd05a

Please sign in to comment.