From b8ce69555433b0c420cef5a16db46d0689b461bb Mon Sep 17 00:00:00 2001 From: Arie Bovenberg Date: Fri, 31 Jan 2025 14:23:56 +0100 Subject: [PATCH] second attempt to fix package metadata issue --- .github/workflows/wheels.yml | 3 ++- pyproject.toml | 6 ------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index ec0ecf62..3885c8da 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -63,7 +63,8 @@ jobs: - uses: actions/setup-python@v5 if : ${{ matrix.os == 'windows' }} with: - python-version: '3.13' + # NOTE: we can't update to 3.13 here yet due to github.com/pypa/twine/issues/1146 + python-version: '3.12' architecture: ${{ matrix.python-architecture || 'x64' }} allow-prereleases: true - run: pip install -U twine diff --git a/pyproject.toml b/pyproject.toml index 1061b64b..035e7789 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,12 +88,6 @@ ignore_missing_imports = true [tool.setuptools.packages] find = { where = ["pysrc"] } -[tool.setuptools] -# FUTURE: remove this once PEP639 compatibility issue is solved -# Note that maturin build still includes the license files in the wheel. -# Nothing to worry about. -license-files = [] - # Notes about the build configuration: # We need setuptools_rust to support enabling/disabling building the Rust # extension from source distributions.