Miro Hrončok
d4ed1c673f
Release 0.0.16
v0.0.16
2025-03-12 16:51:09 +01:00
Miro Hrončok
de0147fb5d
Add --assert-config option
...
Motivation from Fedora:
When we updated tox from version 3 to 4, it no longer fails when here is no
suitable tox configuration found. This was a deliberate upstream choice.
Unfortunately, it means that packages that use %pyproject_buildrequires with -t
or -e now silently succeed if there is no tox configuration found.
I identified 95 packages that are affected by this.
Details: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/ZSHSHZKVA4XJQBJD7FMMCALKN4UP5SAJ/
2025-03-12 16:51:09 +01:00
Miro Hrončok
09d599d7d9
Release 0.0.15
v0.0.15
2025-03-05 00:15:57 +01:00
Miro Hrončok
ad715584e7
CI: Add tests for Python 3.14
...
But don't test with tox 3 on it, that is too new-old to care about.
2025-03-05 00:14:49 +01:00
Miro Hrončok
c656431ce3
CI: Drop Python 3.7 as it has been removed from Fedora 40
2025-03-05 00:04:35 +01:00
Will Shanks
b73cf22d73
Avoid setting the default runner
...
Setting the default runner to tox's default when `--current-env` is not
used can override another plugin like `tox-uv` which wants to change the
default runner. According to [this
comment](https://github.com/fedora-python/tox-current-env/pull/42#discussion_r1048595612 )
the issue that led to the need to set the default runner has been
addressed and that appears to be confirmed by testing.
2025-03-04 14:10:44 -05:00
Miro Hrončok
f3a71af340
Release 0.0.14 (with all test data)
v0.0.14
2024-10-29 17:48:08 +01:00
Miro Hrončok
4521deaeab
Release 0.0.13
v0.0.13
2024-10-29 17:41:18 +01:00
Miro Hrončok
e1ce72ca96
Add --print-dependency-groups-to
...
Fixes https://github.com/fedora-python/tox-current-env/issues/81
2024-10-29 17:29:44 +01:00
Miro Hrončok
0cf27856f8
Only use old virtualenv with old tox
...
Fixes https://github.com/fedora-python/tox-current-env/issues/74
2024-10-22 17:48:42 +02:00
Miro Hrončok
0c125a3c7f
GitHub Actions: Bump actions/checkout to v4 to avoid a deprecated Node.js warning
2024-10-22 17:38:22 +02:00
Miro Hrončok
4402808adc
Tests: Reduce the amount of testenvs, make the tests work
2024-10-22 16:42:39 +02:00
Miro Hrončok
a5705181f3
Fix tests: Always return from prepend_env_var_path
...
No idea why this only fails in tests, but it does.
Fixes https://github.com/fedora-python/tox-current-env/issues/75
2024-10-22 15:51:34 +02:00
Miro Hrončok
0db9b4b3d4
Fix tests: Python 3.12+ toxenvs don't have setuptools in them
2024-10-22 15:51:34 +02:00
Miro Hrončok
18c050c748
Release 0.0.12
v0.0.12
2024-08-28 14:59:04 +02:00
Miro Hrončok
3ec5f8f899
Implement a new method for tox 4.18+
...
Fixes https://github.com/fedora-python/tox-current-env/issues/77
2024-08-20 17:35:36 +02:00
Miro Hrončok
10ff32b308
Tests: Pin virtualenv to <20.22, for Python 3.6 environments
2023-04-24 15:01:37 +02:00
Lumír 'Frenzy' Balhar
94c7ff899d
Switch tox-github-action from master to main branch
...
See https://github.com/fedora-python/tox-github-action/issues/24
2023-04-12 17:10:08 +02:00
Miro Hrončok
22b05190f1
Release 0.0.11
v0.0.11
2023-01-10 17:31:28 +01:00
Lumír 'Frenzy' Balhar
daf3872164
Support report of installed packages in CI ( #64 )
...
* Support report of installed packages in CI
Fixes: https://github.com/fedora-python/tox-current-env/issues/63
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
2023-01-07 11:40:07 +01:00
Miro Hrončok
bf900a5c7c
Clear PYTHONPATH when executing tox in tests
...
Partial fix for https://github.com/fedora-python/tox-current-env/issues/52
2022-12-20 11:47:23 +01:00
Miro Hrončok
843dee6288
Fix tests for tox 4.0.15
2022-12-20 11:37:10 +01:00
Miro Hrončok
1130fb77b4
Fix RST syntax and release 0.0.10
v0.0.10
2022-12-14 15:30:23 +01:00
Miro Hrončok
3438c5679a
Release 0.0.9
v0.0.9
2022-12-14 14:53:08 +01:00
Miro Hrončok
679fbc996e
Always set passenv/pass_env to *
2022-12-14 13:51:28 +01:00
Miro Hrončok
c3497d2b2a
Don't assume the tests allways run via tox
2022-12-14 11:47:07 +01:00
Miro Hrončok
028ee0cfb4
Avoid race conditions when running tests with xdist
2022-12-13 16:56:33 +01:00
Miro Hrončok
f71dd2a238
Skip tox 3/4 tests with tox 4/3 via pytest, not tox
2022-12-13 16:48:17 +01:00
Lumir Balhar
ad6bcf5c19
Fix for commands_pre and commands_post for tox 4
2022-12-13 16:48:00 +01:00
Lumir Balhar
a72e7ba713
Fix TOX_MIN_VERSION again
2022-12-13 16:48:00 +01:00
Lumir Balhar
f5beafc38c
Fix tests
2022-12-13 16:48:00 +01:00
Lumir Balhar
5d5286d4f0
Drop tox < 3.24, add Python 3.11, fix tox 4 compatibility
2022-12-13 16:47:55 +01:00
Lumir Balhar
463c745f6e
Drop support for tox 3.15
2022-12-13 16:41:47 +01:00
Lumir Balhar
3e9cd58704
Remove unused imports
2022-12-13 16:40:42 +01:00
Lumir Balhar
b0923ba7ea
Improved tests and testing with tox 4
2022-12-13 16:39:12 +01:00
Lumir Balhar
b9030ccc0f
Copy of the tests for Tox 4
2022-12-13 16:39:04 +01:00
Lumir Balhar
0e90086c0f
Make __init__ methods noop and use env_dir instead of a temp dir
2022-12-13 16:38:59 +01:00
Lumir Balhar
14fd3c24c2
Compatibility with Tox 4 beta 1
2022-12-13 16:38:55 +01:00
Lumir Balhar
dadd0a954b
Use our own subprocess executor to alter env variables
2022-12-13 16:38:49 +01:00
Lumir Balhar
70a344a8f9
Fake Python environment
2022-12-13 16:38:43 +01:00
Lumir Balhar
c5281c6243
Some more default options
2022-12-13 16:38:38 +01:00
Lumir Balhar
799e5ddda2
No longer check Python versions
2022-12-13 16:38:34 +01:00
Lumir Balhar
07e8536934
Add dummy installer so there is no chance to install packages
2022-12-13 16:38:31 +01:00
Lumir Balhar
ba4146c10d
Empty list of commands means no need for SystemExit
2022-12-13 16:38:26 +01:00
Lumir Balhar
d6cb357233
Own executor is not needed if we can override config
2022-12-13 16:38:20 +01:00
Lumir Balhar
46fd9f0865
Use the default installer (pip) even it fails in an offline env
2022-12-13 16:38:14 +01:00
Lumir Balhar
5d3802da93
Use sysconfig instead of hardcoded paths
2022-12-13 16:38:09 +01:00
Lumir Balhar
bb79c6d405
Remove deprecated option --print-deps-only
2022-12-12 12:15:09 +01:00
Lumir Balhar
a223dc5e97
New plugin version for tox 4 alpha
2022-12-12 12:15:09 +01:00
Lumir Balhar
f55beb7537
Rename module hooks to hooks3
2022-12-12 12:15:09 +01:00