Miro Hrončok
868482fd79
Tests: Don't get fooled by test.egg-info directory in PWD
2019-10-23 13:24:51 +02:00
Miro Hrončok
783c2ea1ec
Tests: For each test function, create an isolated project directory
...
This allows concurrent test execution.
Fixes https://github.com/fedora-python/tox-current-env/issues/11
2019-10-23 13:24:51 +02:00
Miro Hrončok
cf04976cea
Only use tox_cleanup hook when it is possible
2019-09-27 21:58:30 +02:00
Miro Hrončok
a645fe2175
Clean fake venvs after --current-env
...
This makes it easier to run regular tox after tox --current-env,
however not the other way around.
The documented caveat remains the same: Don't mix those without -r.
Partially fixes https://github.com/fedora-python/tox-current-env/issues/14
2019-09-27 21:58:30 +02:00
Miro Hrončok
56d71f94dc
Release 0.0.2
2019-08-12 16:49:59 +02:00
Miro Hrončok
e7aef3fb2e
Add --print-deps-to-file option for easier parsable dependencies
...
Merges https://github.com/fedora-python/tox-current-env/pull/15
2019-08-12 16:49:14 +02:00
Miro Hrončok
0863536aff
Make --print-deps-only and --print-deps-to-file mutually exclusive
2019-08-12 16:17:41 +02:00
Miro Hrončok
7b6ccc79cb
Apply suggestions from code review
...
Co-Authored-By: Petr Viktorin <encukou@gmail.com>
2019-08-12 16:05:18 +02:00
Miro Hrončok
71d21b8266
Add --print-deps-to-file option for easier parsable dependencies
...
Fixes https://github.com/fedora-python/tox-current-env/issues/13
2019-08-01 12:39:12 +02:00
Petr Viktorin
6b2fe8ea56
Merge PR #10 – Create current environment link when --print-deps-only has no env
...
https://github.com/fedora-python/tox-current-env/pull/10
2019-07-30 13:54:18 +02:00
Miro Hrončok
4c81f356af
Abort unsupported runs before installing the tested package
2019-07-29 14:37:17 +02:00
Miro Hrončok
1982ce9aaf
Check if we are not altering current environment
2019-07-29 14:30:15 +02:00
Miro Hrončok
9ba5fae34a
Support tox 3.5 and test with tox 3.5, latest and git master
...
Inspired by https://github.com/pytest-dev/pluggy/blob/master/tox.ini
Fedora 30 has tox 3.5.
2019-07-29 14:25:04 +02:00
Miro Hrončok
8e10e05fbd
Document that --print-deps-only is also not good to mix.
2019-07-29 14:22:23 +02:00
Miro Hrončok
e4fb2d79e0
Test more X after Y situations
2019-07-29 14:20:44 +02:00
Miro Hrončok
45bac2d3ee
Create current environemnt link when --print-deps-only has no env
...
Fixes https://github.com/fedora-python/tox-current-env/issues/9
2019-07-29 14:14:41 +02:00
Miro Hrončok
84ed602502
Move block of code a bit above (no chnages)
2019-07-29 14:14:41 +02:00
Miro Hrončok
72c137afd8
Environment variables are not passed by default
...
Merges https://github.com/fedora-python/tox-current-env/pull/8
Co-Authored-By: Petr Viktorin <encukou@gmail.com>
2019-07-29 14:12:18 +02:00
Miro Hrončok
9dd4b78908
Fix a typo
2019-07-24 14:21:30 +02:00
Miro Hrončok
d7ba8891d4
Don't fail tests if some interpreters are missing
2019-07-23 14:49:13 +02:00
Miro Hrončok
a1bd7d9cab
Don't blow up on missing interpreter
...
Fixes https://github.com/fedora-python/tox-current-env/issues/5
2019-07-23 14:37:06 +02:00
Miro Hrončok
3bca04c780
Add Travis CI
2019-07-23 13:19:42 +02:00
Miro Hrončok
2fe2463a39
Make it 0.0.1
2019-07-23 12:57:24 +02:00
Miro Hrončok
85c6341e2c
Put all relevant files to sdist
2019-07-23 12:51:40 +02:00
Miro Hrončok
d5cee80502
Add pyproject.toml
2019-07-23 12:41:34 +02:00
Petr Viktorin
d372bea93b
Adjust README
2019-07-23 10:38:47 +02:00
Miro Hrončok
b7f56f2b7a
Add documentation
2019-07-22 14:32:48 +02:00
Miro Hrončok
ab18ab9088
Make --print-deps-only quite inert
2019-07-18 11:55:54 +02:00
Miro Hrončok
9fec5a14a7
Test package and depndencies are (not) installed
2019-07-18 11:06:48 +02:00
Miro Hrončok
e5e6ae06c3
Do what we can without -r
2019-07-18 10:50:44 +02:00
Miro Hrončok
c9fe58c8eb
Handle tox -r after --current-env
2019-07-17 18:57:52 +02:00
Miro Hrončok
0a281f94b1
Add very basic integration tests
2019-07-17 18:57:52 +02:00
Petr Viktorin
2857e80ea0
Raise if requested interpreter doesn't match the current one
2019-07-17 16:48:12 +02:00
Petr Viktorin
410e937243
Nitpicks: Comments & typo
2019-07-17 16:04:55 +02:00
Miro Hrončok
4eaf432545
Very rough implementation
2019-07-17 15:56:12 +02:00
Miro Hrončok
bc3aa1e0a6
Initial commit
2019-07-17 13:54:09 +02:00