Skip to content

[pull] main from pypa:main #42

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

Open
wants to merge 142 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
898abfd
Upgrade setuptools to 75.5 and wheel to 0.45 (#2804)
gaborbernat Nov 26, 2024
fd6c16b
Bump astral-sh/setup-uv from 3 to 4 (#2802)
dependabot[bot] Nov 26, 2024
b3e2b6f
No longer forcibly echo off during windows batch activation (#2801)
wiktorinox Nov 26, 2024
be19526
feat: Write CACHEDIR.TAG file (#2803)
neilramsay Nov 26, 2024
f5d7cb4
[pre-commit.ci] pre-commit autoupdate (#2799)
pre-commit-ci[bot] Nov 26, 2024
6f70bf5
Revert "feat: Write CACHEDIR.TAG file (#2803)"
gaborbernat Nov 26, 2024
f74c000
release 20.27.2
gaborbernat Nov 26, 2024
d619967
fix: Update run_with_catch log flushing (#2806)
neilramsay Nov 26, 2024
2a29a1b
feat: Write CACHEDIR.TAG file (#2805)
neilramsay Nov 26, 2024
bfc04e3
release 20.28.0
gaborbernat Nov 26, 2024
9098223
Merge pull request #2807 from pypa/release-20.28.0
gaborbernat Nov 26, 2024
2f5569c
Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 (#2813)
dependabot[bot] Dec 20, 2024
baf2da4
[pre-commit.ci] pre-commit autoupdate (#2810)
pre-commit-ci[bot] Dec 20, 2024
eb8c7c3
Skip tcsh tests on broken tcsh versions (#2817)
gaborbernat Jan 3, 2025
25f5615
release 20.28.1
gaborbernat Jan 3, 2025
7f450c3
Merge pull request #2818 from pypa/release-20.28.1
gaborbernat Jan 3, 2025
dc01686
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jan 13, 2025
11995e7
Merge pull request #2819 from pypa/pre-commit-ci-update-config
gaborbernat Jan 14, 2025
bc7a91a
Merge pull request #2821 from filiplajszczak/cli-precedence-2285
filiplajszczak Jan 14, 2025
b00d59c
Add free-threaded Python support (#2809)
robsdedude Jan 15, 2025
ea5e5cb
Upgrade embeded setuptools (#2823)
gaborbernat Jan 15, 2025
0f6dc41
release 20.29.0
gaborbernat Jan 15, 2025
caf03a2
Merge pull request #2824 from pypa/release-20.29.0
gaborbernat Jan 15, 2025
56ef466
Merge pull request #2826 from DK96-OS/cli-precedence-2285
DK96-OS Jan 17, 2025
fd0dc85
Change PyInfo cache versioning mechanism (#2827)
robsdedude Jan 17, 2025
61bee9f
Add changelog for PyInfo fix
gaborbernat Jan 17, 2025
e07c0c3
release 20.29.1
gaborbernat Jan 17, 2025
d409f6a
release 20.29.1 (#2828)
gaborbernat Jan 17, 2025
a6a5c45
[pre-commit.ci] pre-commit autoupdate (#2830)
pre-commit-ci[bot] Jan 21, 2025
192cef7
[pre-commit.ci] pre-commit autoupdate (#2833)
pre-commit-ci[bot] Jan 28, 2025
8332db8
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Feb 3, 2025
cb02b4f
Merge pull request #2837 from pypa/pre-commit-ci-update-config
gaborbernat Feb 4, 2025
7b8fde4
Remove old virtualenv wheel
gaborbernat Feb 10, 2025
d8a68e6
Bump pip to 25.0.1
gaborbernat Feb 10, 2025
6203457
Merge pull request #2842 from gaborbernat/remove-whl
gaborbernat Feb 10, 2025
a2d2c3e
Merge pull request #2843 from gaborbernat/bump-2-10
gaborbernat Feb 10, 2025
ca670cd
release 20.29.2
gaborbernat Feb 10, 2025
d651b6f
Merge pull request #2844 from pypa/release-20.29.2
gaborbernat Feb 10, 2025
5c5abd2
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Feb 10, 2025
20fd7f5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 10, 2025
1e3fa86
Merge pull request #2845 from pypa/pre-commit-ci-update-config
gaborbernat Feb 10, 2025
27a1138
[pre-commit.ci] pre-commit autoupdate (#2846)
pre-commit-ci[bot] Feb 18, 2025
eaef9bb
[pre-commit.ci] pre-commit autoupdate (#2847)
pre-commit-ci[bot] Feb 24, 2025
ef616c7
Fix logging interpolation
tipabu Feb 24, 2025
ca5935a
Remove duplicate bug report template
shenxianpeng Feb 25, 2025
5b74c9a
Merge pull request #2850 from shenxianpeng/remove-duplicate-template
gaborbernat Feb 25, 2025
7365ad2
Merge pull request #2849 from tipabu/logging-interpolation
gaborbernat Feb 25, 2025
ee9d84c
Ignore directories in PATH that can't be opened (#2794)
barneygale Feb 27, 2025
220b6b8
Add test
barneygale Feb 27, 2025
4567521
Add changelog entry
barneygale Feb 27, 2025
1fc647e
Merge pull request #2852 from barneygale/fix-2794
gaborbernat Feb 27, 2025
d6bc4a9
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Mar 3, 2025
e05b286
Merge pull request #2853 from pypa/pre-commit-ci-update-config
gaborbernat Mar 4, 2025
b1666e9
release 20.29.3
gaborbernat Mar 6, 2025
773a185
Merge pull request #2855 from pypa/release-20.29.3
gaborbernat Mar 6, 2025
4a6a1ff
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Mar 10, 2025
0fe9b4c
Merge pull request #2857 from pypa/pre-commit-ci-update-config
gaborbernat Mar 11, 2025
60a6956
[pre-commit.ci] pre-commit autoupdate (#2858)
pre-commit-ci[bot] Mar 24, 2025
970b829
Add GraalPy support (#2859)
timfel Mar 31, 2025
71adc15
Upgrade setuptools (#2863)
gaborbernat Mar 31, 2025
04163ae
release 20.30.0
gaborbernat Mar 31, 2025
96d83f4
Merge pull request #2864 from pypa/release-20.30.0
gaborbernat Mar 31, 2025
097314e
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Apr 14, 2025
58495c9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 14, 2025
9dd3488
Merge pull request #2867 from pypa/pre-commit-ci-update-config
gaborbernat Apr 17, 2025
120c176
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Apr 21, 2025
26e2235
Merge pull request #2871 from pypa/pre-commit-ci-update-config
gaborbernat Apr 25, 2025
db1d9fc
Stop including 'wheel', setuptools 70.1 has native bdist_wheel support
stefanor Apr 10, 2025
0989d10
Bump to pip 25.1
stefanor Apr 27, 2025
2ab2c19
Include a backwards-compatibility (deprecated) --no-wheel option
stefanor Apr 28, 2025
c93d2a6
Skip --no-pep517 test on Python 3.8 as pip will expect wheel to be in…
stefanor Apr 28, 2025
3fa94b7
Merge pull request #2868 from stefanor/no-wheel
gaborbernat Apr 28, 2025
f900bb6
[pre-commit.ci] pre-commit autoupdate (#2875)
pre-commit-ci[bot] Apr 29, 2025
9ee93da
Revert a large part of the wheel removal, to support Python 3.8 (#2876)
stefanor May 5, 2025
6d26284
Fix HelpFormatter for Python 3.14 (#2878)
cdce8p May 5, 2025
a2e76cb
Fix get_embed_wheel for unknown wheels (#2877)
tiran May 5, 2025
2b7ea30
release 20.31.0
gaborbernat May 5, 2025
f7d440d
release 20.31.0 (#2879)
gaborbernat May 5, 2025
472157d
Bump setuptools and pip
gaborbernat May 5, 2025
715268e
Merge pull request #2880 from gaborbernat/main
gaborbernat May 5, 2025
572aa23
release 20.31.1
gaborbernat May 5, 2025
71d6f0a
Update changelog.rst
gaborbernat May 5, 2025
e9b6ba7
Merge pull request #2882 from pypa/release-20.31.1
gaborbernat May 5, 2025
9c4cd8e
Merge pull request #2884 from hroncok/wheel-option-back
hroncok May 8, 2025
91cf771
release 20.31.2
gaborbernat May 8, 2025
2ec4db5
Merge pull request #2886 from pypa/release-20.31.2
gaborbernat May 8, 2025
fa647d5
[pre-commit.ci] pre-commit autoupdate (#2888)
pre-commit-ci[bot] May 19, 2025
4115483
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] May 26, 2025
6197707
Merge pull request #2889 from pypa/pre-commit-ci-update-config
gaborbernat May 27, 2025
4c4b43a
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jul 7, 2025
284af1f
Merge pull request #2894 from pypa/pre-commit-ci-update-config
gaborbernat Jul 10, 2025
30e58ff
Fix the CI
gaborbernat Jul 10, 2025
07e6110
Merge pull request #2904 from gaborbernat/fix-ci-07-10
gaborbernat Jul 21, 2025
29e9698
activate.fish: update fish major version check (#2891)
r5d Jul 21, 2025
269599a
Fix: Ignore missing absolute paths for python discovery (#2907)
esafak Jul 21, 2025
e7e0ae3
[pre-commit.ci] pre-commit autoupdate (#2905)
pre-commit-ci[bot] Jul 21, 2025
430eb4b
Discover uv-managed Python installations (#2902)
edgarrmondragon Jul 21, 2025
75518b1
Add warning for incorrect usage of Nushell activation script (#2906)
esafak Jul 21, 2025
f3961eb
Update index.rst, compatibility section added, other subheadings crea…
velle Jul 21, 2025
40c84e4
Bump setuptools version (#2900)
gaborbernat Jul 21, 2025
74afc5a
release 20.32.0
gaborbernat Jul 21, 2025
4cc47bd
Merge pull request #2908 from pypa/release-20.32.0
gaborbernat Jul 21, 2025
3e1786e
[pre-commit.ci] pre-commit autoupdate (#2909)
pre-commit-ci[bot] Jul 21, 2025
5e875b3
Fix nushell deprecation warnings
gaborbernat Jul 25, 2025
18e5c33
Merge pull request #2910 from gaborbernat/nushell
gaborbernat Jul 25, 2025
216dc9f
test: Use `@pytest.mark.flaky` instead of `@flaky.flaky` (#2911)
mgorny Jul 26, 2025
153227f
[pre-commit.ci] pre-commit autoupdate (#2912)
pre-commit-ci[bot] Jul 28, 2025
683e5db
fix: handle StopIteration in discovery (#2913)
esafak Jul 31, 2025
5c6ef7b
fix: Improve symlink check and sysconfig path handling (#2914)
esafak Jul 31, 2025
fb2ba1c
docs: Recommend specific python version for virtualenv (#2916)
esafak Jul 31, 2025
01074bc
fix: Force UTF-8 encoding for pip subprocess (#2918)
esafak Aug 1, 2025
19796cf
fix: Prevent crash on file in PATH during discovery (#2917)
esafak Aug 1, 2025
f264539
fix: `--try-first-with` was overriding an absolute `--python` path (#…
esafak Aug 1, 2025
0c84728
fix 'Too many open files' error and improve error message (#2922)
esafak Aug 1, 2025
ec1c83e
fix(testing): Prevent logging setup when --help is passed (#2923)
esafak Aug 1, 2025
31eb8b9
fix cache invalidation for PythonInfo (#2925)
esafak Aug 1, 2025
9872144
fix: Update venv redirector detection for Python 3.13 on Windows (#2920)
esafak Aug 2, 2025
3d35fbb
feat: Add Tcl/Tkinter support (#2928)
esafak Aug 3, 2025
829e3d2
release 20.33.0
gaborbernat Aug 3, 2025
08e5dfa
Merge pull request #2929 from pypa/release-20.33.0
gaborbernat Aug 3, 2025
c573726
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Aug 4, 2025
fb3c7f4
fix(test): Restore mtime of py_info.py in test
google-labs-jules[bot] Aug 4, 2025
3b519a5
Merge branch 'main' into fix/2933-pyc-invalidation-test
gaborbernat Aug 4, 2025
4cd7b13
Merge pull request #2938 from esafak/fix/2933-pyc-invalidation-test
gaborbernat Aug 4, 2025
94004cc
Merge pull request #2937 from pypa/pre-commit-ci-update-config
gaborbernat Aug 4, 2025
7336c43
fix: Correctly unpack _get_tcl_tk_libs() response in PythonInfo
esafak Aug 4, 2025
59078c5
Remove investigation scripts, add changelog entry
esafak Aug 5, 2025
8c9e431
Iterate on quoting
esafak Aug 5, 2025
034f717
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 5, 2025
a7c6824
Merge branch 'main' into fix/2930-tcl-library-bug
esafak Aug 5, 2025
f528c19
Merge pull request #2940 from esafak/fix/2930-tcl-library-bug
gaborbernat Aug 5, 2025
91d3618
chore: Request shell and python details in bug reports
esafak Aug 5, 2025
cac4942
Merge pull request #2942 from esafak/bug_report_template
gaborbernat Aug 5, 2025
8cea2c7
release 20.33.1
gaborbernat Aug 5, 2025
858d5b8
Merge pull request #2943 from pypa/release-20.33.1
gaborbernat Aug 5, 2025
fa67f8d
Merge pull request #2936 from esafak/fix/2935-too-many-open-files
esafak Aug 7, 2025
78ebc61
feat: Abstract out caching in discovery (#2946)
esafak Aug 8, 2025
d280b76
CI: Add PyPy 3.11 to CI checks (#2934)
esafak Aug 11, 2025
03f4800
feat: Decouple `FileCache` from `py_info` (#2947)
esafak Aug 11, 2025
02ae86f
feat: Remove references to py_info from FileCache (#2948)
esafak Aug 11, 2025
c41da72
refactor: Decouple discovery from creator plugins (#2949)
esafak Aug 11, 2025
1f4c76e
refactor: Decouple discovery by duplicating info utils (#2951)
esafak Aug 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
name: Bug report
about: Create a report to help us improve
title: ""
labels: bug
assignees: ""
---

**Issue**

Describe what's the expected behavior and what you're observing.
Expand All @@ -7,6 +15,8 @@ Describe what's the expected behavior and what you're observing.
Provide at least:

- OS:
- Shell:
- Python version and path:
- `pip list` of the host python where `virtualenv` is installed:

```console
Expand Down
30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

165 changes: 81 additions & 84 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: check
name: 🧪 check
on:
workflow_dispatch:
push:
branches: ["main"]
tags-ignore: ["**"]
pull_request:
schedule:
- cron: "0 8 * * *"
Expand All @@ -14,136 +13,134 @@ concurrency:

jobs:
test:
name: test ${{ matrix.py }} - ${{ matrix.os }}
name: 🧪 test ${{ matrix.py }} - ${{ matrix.os }}
if: github.event_name != 'schedule' || github.repository_owner == 'pypa'
runs-on: ${{ matrix.os }}
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
py:
- "3.13t"
- "3.13"
- "3.12"
- "3.11"
- "3.10"
- "3.9"
- "3.8"
- pypy-3.11
- pypy-3.10
- pypy-3.9
- pypy-3.8
- graalpy-24.1
os:
- ubuntu-latest
- macos-latest
- windows-latest
- ubuntu-24.04
- macos-15
- windows-2025
include:
- { os: macos-latest, py: "brew@3.11" }
- { os: macos-latest, py: "brew@3.10" }
- { os: macos-latest, py: "brew@3.9" }
- { os: macos-15, py: "brew@3.11" }
- { os: macos-15, py: "brew@3.10" }
- { os: macos-15, py: "brew@3.9" }
exclude:
- { os: windows-latest, py: "pypy-3.10" }
- { os: windows-latest, py: "pypy-3.9" }
- { os: windows-latest, py: "pypy-3.8" }
- { os: windows-2025, py: "graalpy-24.1" }
- { os: windows-2025, py: "pypy-3.10" }
- { os: windows-2025, py: "pypy-3.9" }
- { os: windows-2025, py: "pypy-3.8" }
steps:
- uses: taiki-e/install-action@cargo-binstall
- name: Install OS dependencies
run: |
set -x
for i in 1 2 3; do
echo "try $i" && \
${{ runner.os == 'Linux' && 'sudo apt-get update -y && sudo apt-get install snapd fish csh -y' || true }} && \
${{ runner.os == 'Linux' && 'cargo binstall -y nu' || true }} && \
${{ runner.os == 'macOS' && 'brew install fish tcsh nushell' || true }} && \
${{ runner.os == 'Windows' && 'choco install nushell' || true }} && \
exit 0 || true;
sleep 1
done
exit 1
shell: bash
- uses: actions/checkout@v4
- name: 🚀 Install uv
uses: astral-sh/setup-uv@v4
- name: 📥 Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
- name: 🐍 Setup Python for tox
uses: actions/setup-python@v5
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Add .local/bin to PATH Windows
if: runner.os == 'Windows'
shell: bash
run: echo "$USERPROFILE/.local/bin" >> $GITHUB_PATH
- name: Add .local/bin to PATH macos-13
if: matrix.os == 'macos-13'
python-version: "3.13"
- name: 📦 Install tox with this virtualenv
shell: bash
run: echo ~/.local/bin >> $GITHUB_PATH
- name: Install tox
if: matrix.py == '3.13'
run: uv tool install --python-preference only-managed --python 3.12 tox --with tox-uv
- name: Install tox
if: matrix.py != '3.13'
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv
- name: Setup brew python for test ${{ matrix.py }}
if: startsWith(matrix.py,'brew@')
run: |
set -e
PY=$(echo '${{ matrix.py }}' | cut -c 6-)
brew cleanup && brew upgrade python@$PY || brew install python@$PY
echo "/usr/local/opt/python@$PY/libexec/bin" >>"${GITHUB_PATH}"
shell: bash
- name: Setup python for test ${{ matrix.py }}
if: "!( startsWith(matrix.py,'brew@') || endsWith(matrix.py, '-dev') )"
if [[ "${{ matrix.py }}" == "3.13t" ]]; then
uv tool install --no-managed-python --python 3.13 tox --with .
else
uv tool install --no-managed-python --python 3.13 tox --with tox-uv --with .
fi
- name: 🐍 Setup Python for test ${{ matrix.py }}
uses: actions/setup-python@v5
if: ${{ !startsWith(matrix.py, 'brew@') }}
with:
python-version: ${{ matrix.py }}
allow-prereleases: true
- name: Pick environment to run
run: python tasks/pick_tox_env.py ${{ matrix.py }}
- name: Setup test suite
run: tox run -vv --notest --skip-missing-interpreters false
- name: Run test suite
- name: 🛠️ Install OS dependencies
shell: bash
run: |
if [ "${{ runner.os }}" = "Linux" ]; then
sudo apt-get install -y software-properties-common
sudo apt-add-repository ppa:fish-shell/release-4 -y
curl -fsSL https://apt.fury.io/nushell/gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/fury-nushell.gpg
echo "deb https://apt.fury.io/nushell/ /" | sudo tee /etc/apt/sources.list.d/fury.list
sudo apt-get update -y
sudo apt-get install snapd fish csh nushell -y
elif [ "${{ runner.os }}" = "macOS" ]; then
brew update
if [[ "${{ matrix.py }}" == brew@* ]]; then
PY=$(echo '${{ matrix.py }}' | cut -c 6-)
brew install python@$PY || brew upgrade python@$PY
echo "/usr/local/opt/python@$PY/libexec/bin" >>"${GITHUB_PATH}"
fi
brew install fish tcsh nushell || brew upgrade fish tcsh nushell
elif [ "${{ runner.os }}" = "Windows" ]; then
choco install nushell
fi
- name: 🧬 Pick environment to run
shell: bash
run: |
py="${{ matrix.py }}"
if [[ "$py" == brew@* ]]; then
brew_version="${py#brew@}"
echo "TOX_DISCOVER=/opt/homebrew/bin/python${brew_version}" >> "$GITHUB_ENV"
py="$brew_version"
fi
[[ "$py" == graalpy-* ]] && py="graalpy"
echo "TOXENV=$py" >> "$GITHUB_ENV"
echo "Set TOXENV=$py"
- name: 🏗️ Setup test suite
run: tox run -vvvv --notest --skip-missing-interpreters false
- name: 🏃 Run test suite
run: tox run --skip-pkg-install
timeout-minutes: 20
env:
PYTEST_ADDOPTS: "-vv --durations=20"
CI_RUN: "yes"
DIFF_AGAINST: HEAD

check:
name: ${{ matrix.tox_env }} - ${{ matrix.os }}
name: 🔎 check ${{ matrix.tox_env }} - ${{ matrix.os }}
if: github.event_name != 'schedule' || github.repository_owner == 'pypa'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- ubuntu-24.04
- windows-2025
tox_env:
- dev
- docs
- readme
- upgrade
- zipapp
exclude:
- { os: windows-latest, tox_env: readme }
- { os: windows-latest, tox_env: docs }
- { os: windows-2025, tox_env: readme }
- { os: windows-2025, tox_env: docs }
steps:
- uses: actions/checkout@v4
- name: 🚀 Install uv
uses: astral-sh/setup-uv@v4
- name: 📦 Install tox
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv
- name: 📥 Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Add .local/bin to Windows PATH
if: runner.os == 'Windows'
shell: bash
run: echo "$USERPROFILE/.local/bin" >> $GITHUB_PATH
- name: Install tox
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv
- name: Setup check suite
run: tox r -vv --notest --skip-missing-interpreters false -e ${{ matrix.tox_env }}
- name: Run check for ${{ matrix.tox_env }}
run: tox r --skip-pkg-install -e ${{ matrix.tox_env }}
- name: 🏗️ Setup check suite
run: tox run -vv --notest --skip-missing-interpreters false -e ${{ matrix.tox_env }}
- name: 🏃 Run check for ${{ matrix.tox_env }}
run: tox run --skip-pkg-install -e ${{ matrix.tox_env }}
21 changes: 11 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,21 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: 📥 Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
- name: 🚀 Install the latest version of uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build package
- name: 📦 Build package
run: uv build --python 3.13 --python-preference only-managed --sdist --wheel . --out-dir dist
- name: Store the distribution packages
- name: 📦 Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: ${{ env.dists-artifact-name }}
Expand All @@ -30,19 +31,19 @@ jobs:
release:
needs:
- build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
environment:
name: release
url: https://pypi.org/project/virtualenv/${{ github.ref_name }}
permissions:
id-token: write
steps:
- name: Download all the dists
- name: 📥 Download all the dists
uses: actions/download-artifact@v4
with:
name: ${{ env.dists-artifact-name }}
path: dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.12.2
- name: 🚀 Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.12.3
with:
attestations: true
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.4
rev: 0.33.2
hooks:
- id: check-github-workflows
args: ["--verbose"]
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
args: ["--write-changes"]
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "1.4.1"
rev: "1.6.0"
hooks:
- id: tox-ini-fmt
args: ["-p", "fix"]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.5.0"
rev: "v2.6.0"
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.7.2"
rev: "v0.12.7"
hooks:
- id: ruff-format
- id: ruff
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.3.3"
rev: "v3.6.2"
hooks:
- id: prettier
additional_dependencies:
Expand Down
Loading