Miro Hrončok
6f4fdf29c4
Allow testing virtualenv with --download
2024-04-04 17:50:39 +02:00
Miro Hrončok
3ff6bdd8ba
Don't execute setup.py directly, always use pip
...
Since Python 3.12, virtual environments don't have setuptools,
instead, pip will install it to an isolated build environment.
2023-04-28 13:28:29 +02:00
Tomáš Hrnčiar
b9eebf1c79
Enable Cython test for Python 3.12, using the git master
2023-02-10 07:10:29 +01:00
Lukas Zachar
6be8056917
smoke/venv needs gcc
...
Which is not installed by default
2023-01-31 08:21:34 +01:00
Lukas Zachar
6f4c0d0815
Make tmt lint pass for /smoke/venv
2023-01-17 20:33:40 +01:00
Lumir Balhar
b9dc63ad15
Do not use Cython from master branch for Py 3.11
2023-01-10 13:37:41 +01:00
Miro Hrončok
4c3ed6ec49
Try installing the devel package when INSTALL_OR_SKIP is set
2022-11-25 15:52:43 +01:00
Miro Hrončok
18de9ca2b3
Run tests as regular user
...
For this to work, we run the smoke test from a temporary directory,
on the CI /var/str/smoke is not writable by non-root.
2022-06-09 12:46:18 +02:00
Miro Hrončok
19a49e8637
Drop no longer relevant conditionals for Python 2.6
2022-03-08 01:07:00 +01:00
Miro Hrončok
362f438cc6
Instead of checking for Jython, make it possible to opt-out from the Cython test
...
- we don't have Jython any more and even if we had, we could explicitly opt out from it
- we sometimes need to opt out from Cython test in the development versions of Python
2022-03-08 01:05:03 +01:00
Miro Hrončok
c2466c2de5
Undo Python 3.11 py workarounds, py 1.11.0 is out with the fix
2021-11-04 18:26:12 +01:00
Miro Hrončok
beb705f0d0
Enable Cython test for Python 3.11, using the git master
2021-10-29 16:47:42 +02:00
Miro Hrončok
1adc399e3d
Add Python 3.11 workarounds
2021-10-12 12:10:15 +02:00
Miro Hrončok
853a1f50a3
Correctly determine toxenv for versioned PyPy
2021-08-10 14:55:20 +02:00
Miro Hrončok
6cc91d52a7
No longer install Cython from master on Python 3.9
...
It also is not (yet) necessary on Python 3.10.
2020-10-12 11:18:00 +02:00
Lumir Balhar
261dfe65e1
Add method for virtualenv with --seeder pip
...
--seeder pip uses pip (from wheel) to install seed packages (pip, setuptools
and wheel) from our own system wheels.
2020-06-23 13:35:27 +02:00
Miro Hrončok
c26b64823b
Make it possible to run Python 3.4 tests optionally
2020-06-05 11:42:43 +02:00
Miro Hrončok
450364614f
Also test plain ensurepip in smoke tests
2020-04-29 01:17:58 +02:00
Miro Hrončok
6a9ffe6cb2
Have a dynamic Python version by default if possible
2020-04-20 15:32:38 +02:00
Miro Hrončok
74239cac5d
Assert that tox uses the appropriate Python version
2020-02-07 18:39:54 +01:00
Miro Hrončok
754dc5a573
Python 3.9: Fetch Cython master
2019-11-26 01:10:14 +01:00
Miro Hrončok
d37bcbfd9a
Also enable testing virtualenv --no-download
2019-09-05 15:07:00 +02:00
Miro Hrončok
d72c62fe79
It is no longer needed to fetch Cython from git master
2019-09-02 15:50:46 +02:00
Miro Hrončok
0ae2425874
Python 3.8: Install Cython from git master
2019-05-09 16:20:11 +02:00
Miro Hrončok
ca464dcb60
Fix Cython installation for fresh CPythons
...
We try to fetch a wheel only and if that fails, we disable compilation.
Useful for fresh CPythons such as 3.8 now, where wheels are not yet ready,
but Cython defaults to compiling (because it detects CPython).
Note that --install-option="--no-cython-compile" makes pip use source package,
hence we don't want to use it right away. We still prefer wheel over
sdist.
2019-02-07 08:36:39 +01:00
Petr Šplíchal
8ddab88d43
Initial example of the Flexible Metadata Format
2018-09-19 16:03:10 +02:00
Miro Hrončok
c56363e23a
Allow to test Jython
...
METHOD=virtualenv PYTHON=jython VERSION=2.7 ./smoke/venv.sh
2018-08-29 13:53:20 +02:00
Miro Hrončok
b3d405a516
Allow testing pypys:
...
METHOD=virtualenv PYTHON=pypy3 VERSION=3.5 ./smoke/venv.sh
METHOD=venv PYTHON=pypy3 VERSION=3.5 ./smoke/venv.sh
METHOD=virtualenv PYTHON=pypy VERSION=2.7 ./smoke/venv.sh
2018-08-29 12:32:01 +02:00
Miro Hrončok
2540126bc6
Cython wheels don't work with Python 2.6, use --no-cython-compile
2018-08-28 18:29:31 +02:00
Miro Hrončok
5169b86238
On Python 2.6, get Cython 27.x with cp26 wheels
2018-08-28 13:48:52 +02:00
Petr Šplíchal
d7cf02c145
Pip adjustments to make it work with python 2.6
2018-08-14 13:13:50 +02:00
Petr Šplíchal
413ee19869
Allow skiping tox
2018-07-20 15:17:24 +02:00
Miro Hrončok
aa5f2fee63
Make virtuelenv testable
2018-07-20 12:26:14 +02:00
Miro Hrončok
a6067a8820
Make venv tests work on 3.4 and 3.5
2018-07-20 12:19:30 +02:00
Petr Šplíchal
41eef2c4dc
Move to smoke, support choosing python version
2018-07-20 10:54:27 +02:00