-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
CI: Set up CI for the free-threaded build of 3.13 #59058
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mroeschke
merged 6 commits into
pandas-dev:main
from
lysnikolaou:setup-freethreading-ci
Jun 26, 2024
Merged
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b9a9fbd
CI: Set up CI for the free-threaded build of 3.13
lysnikolaou 5ccc32b
Only run CI on ubuntu
lysnikolaou 273363e
Merge branch 'main' into setup-freethreading-ci
lysnikolaou 6e79c30
No need for prerelease pip anymore
lysnikolaou 9afe12b
Update .github/workflows/unit-tests.yml
lysnikolaou 6f8a1f7
Merge branch 'main' into setup-freethreading-ci
lysnikolaou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -346,6 +346,49 @@ jobs: | |
- name: Run Tests | ||
uses: ./.github/actions/run-tests | ||
|
||
python-freethreading: | ||
defaults: | ||
run: | ||
shell: bash -eou pipefail {0} | ||
runs-on: ubuntu-22.04 | ||
|
||
timeout-minutes: 90 | ||
|
||
concurrency: | ||
# https://github.community/t/concurrecy-not-work-for-push/183068/7 | ||
group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.os }}-${{ matrix.pytest_target }}-dev | ||
cancel-in-progress: true | ||
|
||
env: | ||
PYTEST_WORKERS: "auto" | ||
PANDAS_CI: 1 | ||
PATTERN: "not slow and not network and not clipboard and not single_cpu" | ||
PYTEST_TARGET: pandas | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python Free-threading Version | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: 3.13-dev | ||
nogil: true | ||
|
||
- name: Build Environment | ||
run: | | ||
python --version | ||
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1 | ||
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy cython | ||
python -m pip install versioneer[toml] | ||
python -m pip install python-dateutil pytz tzdata hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov | ||
python -m pip install -ve . --no-build-isolation --no-index --no-deps --config-settings=setup-args="--werror" | ||
python -m pip list | ||
|
||
- name: Run Tests | ||
uses: ./.github/actions/run-tests | ||
|
||
emscripten: | ||
# Note: the Python version, Emscripten toolchain version are determined | ||
# by the Pyodide version. The appropriate versions can be found in the | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.