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
Sorin Sbarnea
6e7459afce
Avoid exception with tox.ini containing allowlist_externals
...
Fixes: https://github.com/fedora-python/tox-current-env/issues/45
Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
2022-02-22 10:44:01 +01:00
Miro Hrončok
931f41066b
Fix tox315 toxenv
2022-02-18 19:43:29 +01:00
Lumir Balhar
fa84635096
New Python versions in tests
2022-02-10 13:17:23 +01:00
Miro Hrončok
0d9beab1db
Pin tox < 4, release as 0.0.7
2022-02-06 22:54:51 +01:00
Miro Hrončok
7b2047dda1
Don't recommend using Python virtual environmetns to isolate
...
This plugin is designed to escape virtual environments.
Even when tox and tox-current-env are installed in a virtual environment,
the tests are executed in the non-virtualenv Python.
Possibly related to https://github.com/fedora-python/tox-current-env/issues/43
2021-11-29 13:16:16 +01:00
Miro Hrončok
60d4e23d20
Release 0.0.6
2021-03-29 13:51:24 +02:00
Petr Viktorin
2cbcf96a70
Make tox_dependencies() a generator
2021-03-16 14:44:59 +01:00
Miro Hrončok
beda06ad5e
Document tox provisioning
...
Fixes https://github.com/fedora-python/tox-current-env/issues/39
2021-03-16 14:44:29 +01:00
Miro Hrončok
e7456d9645
Print tox requires with --print-deps-to
...
Partially fixes https://github.com/fedora-python/tox-current-env/issues/39
2021-02-16 10:57:21 +01:00
Miro Hrončok
a66b6f73d3
Print tox minversion with --print-deps-to
...
Partially fixes https://github.com/fedora-python/tox-current-env/issues/39
2021-02-15 22:43:44 +01:00
Miro Hrončok
60bde0041c
Release 0.0.5
2020-11-25 12:06:36 +01:00
Miro Hrončok
4348640a83
Drop the limited support of tox 3.13 and 3.14 (due to Fedora 31 EOL)
2020-11-25 10:39:26 +01:00
Miro Hrončok
9004590d6f
DRY a function to detect "our" options
2020-11-25 10:39:26 +01:00