1
0
mirror of https://github.com/fedora-python/tox-current-env.git synced 2024-12-23 08:36:15 +01:00
Commit Graph

128 Commits

Author SHA1 Message Date
Miro Hrončok
f3a71af340 Release 0.0.14 (with all test data) 2024-10-29 17:48:08 +01:00
Miro Hrončok
4521deaeab Release 0.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 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 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 2022-12-14 15:30:23 +01:00
Miro Hrončok
3438c5679a Release 0.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
Miro Hrončok
34bd41f2bd
Do not run commands_pre or commands_post with --print-deps-to/--print-extras-to
Fixes https://github.com/fedora-python/tox-current-env/issues/58
2022-12-12 12:13:32 +01:00
Miro Hrončok
10f1d91d8f CI: Update to actions/checkout@v3 to avoid a deprecation warning
Version 2 uses the node12 runtime.

https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
2022-12-08 20:13:17 +01:00
Miro Hrončok
2f1005471a Update the branch for tox3 git 2022-12-07 23:00:08 +01:00
Miro Hrončok
4f97be7952 Define and use a [tests] extra 2022-12-07 22:32:57 +01:00
Jürgen Gmach
d2f9344898
tox never gets capitalized
tox documentation is a good source for how to write it:

https://tox.wiki/en/latest/
https://tox.wiki/en/rewrite/

See also https://twitter.com/jugmac00/status/1524452912684011521

Merges https://github.com/fedora-python/tox-current-env/pull/50
2022-05-12 09:54:55 +02:00
Miro Hrončok
0ea6d59938 Release 0.0.8 2022-03-02 22:04:24 +01:00