diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 7adb6791..85199de1 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -70,7 +70,7 @@ jobs: env: CIBW_BUILD: "cp3{8..14}{t,}-${{ matrix.wheel_type }}" CIBW_ARCHS_LINUX: auto - CIBW_ENABLE: cpython-prerelease + CIBW_ENABLE: cpython-prerelease cpython-freethreading - uses: actions/upload-artifact@v4 with: name: ${{ matrix.wheel_type }}-wheels @@ -122,7 +122,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + python_version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.13t", "3.14", "3.14t"] steps: - uses: actions/checkout@v5 - name: Set up Python @@ -137,10 +137,7 @@ jobs: run: | sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update - sudo apt-get install -qy \ - gdb \ - python${{matrix.python_version}}-dev \ - python${{matrix.python_version}}-dbg + sudo apt-get install -qy gdb - name: Install Python dependencies run: | python${{matrix.python_version}} -m pip install --upgrade pip diff --git a/Makefile b/Makefile index cb3027da..a49b6567 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ valgrind: ## Run valgrind, with the correct configuration .PHONY: ccoverage ccoverage: ## Run the test suite, with C++ code coverage $(MAKE) clean - CFLAGS="$(CFLAGS) -O0 -pg --coverage" $(MAKE) build + CFLAGS="$(CFLAGS) -O0 -pg --coverage" CXXFLAGS="$(CXXFLAGS) -O0 -pg --coverage" $(MAKE) build $(MAKE) check gcov -i build/*/src/pystack/_pystack -i -d lcov --capture --directory . --output-file cppcoverage.lcov diff --git a/news/271.feature.rst b/news/271.feature.rst new file mode 100644 index 00000000..61b59339 --- /dev/null +++ b/news/271.feature.rst @@ -0,0 +1 @@ +Provide wheels for free-threaded builds of Python 3.13