Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
6b51959
Add backslash replace parameter to the POpen
rahuldevikar Jan 2, 2026
1b0a68f
Use latin-1 instead
rahuldevikar Jan 2, 2026
c57b37d
Fix: Remove invalid false argument from --skip-missing-interpreters flag
rahuldevikar Jan 2, 2026
685f107
Remove non-existent --skip-missing-interpreters flag from tox commands
rahuldevikar Jan 2, 2026
8070961
Upgrade tox to >=4.0 for Python 3.14 compatibility
rahuldevikar Jan 2, 2026
2a5d588
Remove tox version constraint to resolve circular dependency
rahuldevikar Jan 2, 2026
35075f1
Use Python 3.13 to install tox for Python 3.14 compatibility
rahuldevikar Jan 2, 2026
f4c8cc2
Fix: Allow uv to download Python 3.13 for tox
rahuldevikar Jan 2, 2026
a6db5f4
Pin tox to 4.11.3 for compatibility
rahuldevikar Jan 2, 2026
d00b389
Use tox 4.0.14 for virtualenv compatibility
rahuldevikar Jan 2, 2026
6420ba2
Remove --with . from tox install to avoid version conflict
rahuldevikar Jan 2, 2026
c7998e3
Remove tox-uv dependency to fix version conflict
rahuldevikar Jan 2, 2026
b71cf0e
Use Python 3.14 for tox to avoid download delay
rahuldevikar Jan 2, 2026
413fce1
Add --skip-pkg-install to setup step and add timeout
rahuldevikar Jan 2, 2026
6142917
Remove --skip-pkg-install from setup step to install dependencies
rahuldevikar Jan 2, 2026
3113d0f
Revert Workflow Changes
rahuldevikar Jan 2, 2026
143ec3e
Pin tox v4 in CI
rahuldevikar Jan 2, 2026
0c0fdf5
Pin tox v4 in CI
rahuldevikar Jan 2, 2026
2aea7e7
Pin tox v4 in CI
rahuldevikar Jan 2, 2026
be1f041
Fetch upstream tags in CI
rahuldevikar Jan 2, 2026
5a2fa91
Update check.yaml
rahuldevikar Jan 3, 2026
e01d247
Fix: Remove invalid false argument from --skip-missing-interpreters flag
rahuldevikar Jan 2, 2026
c4c5a32
Remove non-existent --skip-missing-interpreters flag from tox commands
rahuldevikar Jan 2, 2026
7c613c9
Upgrade tox to >=4.0 for Python 3.14 compatibility
rahuldevikar Jan 2, 2026
3ee3126
Remove tox version constraint to resolve circular dependency
rahuldevikar Jan 2, 2026
d915a18
Use Python 3.13 to install tox for Python 3.14 compatibility
rahuldevikar Jan 2, 2026
ba82f00
Fix: Allow uv to download Python 3.13 for tox
rahuldevikar Jan 2, 2026
866a0fe
Pin tox to 4.11.3 for compatibility
rahuldevikar Jan 2, 2026
f8d88f2
Use tox 4.0.14 for virtualenv compatibility
rahuldevikar Jan 2, 2026
afc063a
Remove --with . from tox install to avoid version conflict
rahuldevikar Jan 2, 2026
ea16636
Remove tox-uv dependency to fix version conflict
rahuldevikar Jan 2, 2026
6f12416
Use Python 3.14 for tox to avoid download delay
rahuldevikar Jan 2, 2026
e547d3e
Add --skip-pkg-install to setup step and add timeout
rahuldevikar Jan 2, 2026
fa33ad5
Remove --skip-pkg-install from setup step to install dependencies
rahuldevikar Jan 2, 2026
e4ef36e
Revert Workflow Changes
rahuldevikar Jan 2, 2026
66c1037
Pin tox v4 in CI
rahuldevikar Jan 2, 2026
3d82107
Pin tox v4 in CI
rahuldevikar Jan 2, 2026
5d1bd1b
Pin tox v4 in CI
rahuldevikar Jan 2, 2026
5e071fb
Fetch upstream tags in CI
rahuldevikar Jan 2, 2026
b32075d
Merge branch 'pypa:main' into main
rahuldevikar Jan 5, 2026
fe577f3
Merge branch 'main' of https://github.com/rahuldevikar/virtualenv
rahuldevikar Jan 5, 2026
dd5890c
Force subprocess to use utf-8
rahuldevikar Jan 5, 2026
2ccae08
Merge branch 'main' into users/rahuldevikar/fix2812
rahuldevikar Jan 5, 2026
458b375
Merge branch 'main' into users/rahuldevikar/fix2812
rahuldevikar Jan 5, 2026
bafbc0d
Fix EOF
rahuldevikar Jan 5, 2026
72dcded
Merge branch 'users/rahuldevikar/fix2812' of https://github.com/rahul…
rahuldevikar Jan 5, 2026
728b655
Revert update_embedded
rahuldevikar Jan 5, 2026
4ea256d
Revert check.yaml
rahuldevikar Jan 5, 2026
71083ee
Revert check.yaml
rahuldevikar Jan 5, 2026
69134c6
Temp force tox version in check.yaml
rahuldevikar Jan 5, 2026
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
16 changes: 12 additions & 4 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🏷️ Fetch upstream tags for versioning
shell: bash
run: |
git fetch --force --tags https://github.com/pypa/virtualenv.git
- name: 🐍 Setup Python for tox
uses: actions/setup-python@v5
with:
Expand All @@ -63,9 +67,9 @@ jobs:
shell: bash
run: |
if [[ "${{ matrix.py }}" == "3.13t" || "${{ matrix.py }}" == "3.14t" ]]; then
uv tool install --no-managed-python --python 3.14 tox --with .
uv tool install --no-managed-python --python 3.14 "tox>=4.32" --with .
else
uv tool install --no-managed-python --python 3.14 tox --with tox-uv --with .
uv tool install --no-managed-python --python 3.14 "tox>=4.32" --with tox-uv --with .
fi
- name: 🐍 Setup Python for test ${{ matrix.py }}
uses: actions/setup-python@v5
Expand Down Expand Up @@ -109,7 +113,7 @@ jobs:
run: tox run -vvvv --notest --skip-missing-interpreters false
- name: 🏃 Run test suite
run: tox run --skip-pkg-install
timeout-minutes: 20
timeout-minutes: 30
env:
PYTEST_ADDOPTS: "-vv --durations=20"
CI_RUN: "yes"
Expand Down Expand Up @@ -137,11 +141,15 @@ jobs:
- name: 🚀 Install uv
uses: astral-sh/setup-uv@v4
- name: 📦 Install tox
run: uv tool install --python-preference only-managed --python 3.14 tox --with tox-uv
run: uv tool install --python-preference only-managed --python 3.14 "tox>=4.32" --with tox-uv
- name: 📥 Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🏷️ Fetch upstream tags for versioning
shell: bash
run: |
git fetch --force --tags https://github.com/pypa/virtualenv.git
- name: 🏗️ Setup check suite
run: tox run -vv --notest --skip-missing-interpreters false -e ${{ matrix.tox_env }}
- name: 🏃 Run check for ${{ matrix.tox_env }}
Expand Down
4 changes: 4 additions & 0 deletions src/virtualenv/discovery/cached_py_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ def _run_subprocess(cls, exe, app_data, env):
# prevent sys.prefix from leaking into the child process - see https://bugs.python.org/issue22490
env = env.copy()
env.pop("__PYVENV_LAUNCHER__", None)
# Force UTF-8 mode to handle output from Microsoft Store Python stub on Windows
# See https://github.com/pypa/virtualenv/issues/2812
env["PYTHONUTF8"] = "1"
LOGGER.debug("get interpreter info via cmd: %s", LogCmd(cmd))
try:
process = Popen(
Expand All @@ -135,6 +138,7 @@ def _run_subprocess(cls, exe, app_data, env):
stdout=subprocess.PIPE,
env=env,
encoding="utf-8",
errors="backslashreplace",
)
out, err = process.communicate()
code = process.returncode
Expand Down
Loading