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
df6c0cef6e
Don't set SETUPTOOLS_USE_DISTUTILS=stdlib when distutils does not exist
...
Python 3.12.0a2 removed the standard library distutils module,
so we can no longer use it.
2022-11-16 00:45:37 +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
Tomáš Hrnčiar
fd113d4cf8
Add gcc-c++ dependency to run Python 3.11 test
2022-05-09 12:27:26 +02:00
Karolina Surma
db335e1e44
Explicitly declare the usage of distutils from Python stdlib for tests
...
setuptools 60+ bundles distutils which then have an impact on the test
environment, causing test_with_pip to fail.
2022-03-16 17:52:34 +01: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
bc948d6e50
Fixup the pypy3 test example
2022-03-08 01:03:37 +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
2fc6fc00bc
Make python3.5 optional
2021-08-10 15:23:00 +02:00
Miro Hrončok
853a1f50a3
Correctly determine toxenv for versioned PyPy
2021-08-10 14:55:20 +02:00
Tomas Hrnciar
98ad8d0232
For debug build, assert -O0 instead of -Og
...
Python change: https://src.fedoraproject.org/rpms/python3.9/c/1d2d05b30506c5758da94f1cd3860f3d58a87db0
Rationale: https://bugzilla.redhat.com/show_bug.cgi?id=1818857
2021-05-05 10:52:42 +02:00
Miro Hrončok
1b6575d5a5
Avoid variable names with negative conotations
2020-11-05 13:32:26 +01:00
Miro Hrončok
59f2079f68
Support INSTALL_OR_SKIP for marshalparser test
2020-10-13 22:09:11 +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
86842acd1b
Add marshalparser to Python tests
...
Marshalparser helps us to uniform byte-compiled Python files
so it has to be able to also parse pyc files from
the main python packages.
Moreover, it has its own database of magic numbers so this test
checks that the parser is compatible with the latest python before
we ship it.
2020-07-30 07:50:39 +02:00
Lumir Balhar
b4fd40e6ca
Test virtualenv with pip for Py 2.7 (bundled wheels in ensurepip) and Py 3.9
2020-06-23 20:38:51 +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
0ec11f1f64
Require Python packages with dots
2020-06-03 15:59:47 +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
562c77a483
Smoke test self without Python 3.4
...
Python 3.4 is going to be removed in Fedora 33:
https://fedoraproject.org/wiki/Changes/RetirePython34
2020-02-12 15:14:50 +00:00
Miro Hrončok
38d9a441ce
Test with Python 3.9 as well
2020-02-07 18:39:54 +01:00
Miro Hrončok
74239cac5d
Assert that tox uses the appropriate Python version
2020-02-07 18:39:54 +01:00
Miro Hrončok
606e77a1ba
Expand the OPENSSL_CONF=/non-existing-file comment
...
It's not just the minimum version now.
2019-12-02 18:24:15 +01:00
Miro Hrončok
754dc5a573
Python 3.9: Fetch Cython master
2019-11-26 01:10:14 +01:00
Miro Hrončok
96fbcc5c42
Test that the debug build has the proper -O flags set
...
Fixes https://src.fedoraproject.org/tests/python/issue/12
2019-10-21 15:17:34 +02:00
Miro Hrončok
11b7e874ef
Test pypy3 tests with current pypy3, that is Python 3.6
2019-09-05 15:07:00 +02:00
Miro Hrončok
30e8067df5
Test debug tests with current rawhide python3-debug
2019-09-05 15:07:00 +02: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
f5948a878c
Update the test image before running tests
...
See https://pagure.io/fedora-ci/general/issue/20
2019-06-27 17:40:09 +02:00
Miro Hrončok
8f563a8e11
Stop running findleaks tests, but run a test on debug Python
...
See https://src.fedoraproject.org/rpms/python3/pull-request/113
We keep findleaks script in the repo, until eliminated elsewhere.
2019-06-27 11:44:48 +02:00
Miro Hrončok
bd3ec9505c
Workaround fedora-ci/general#31
...
https://pagure.io/fedora-ci/general/issue/31
2019-05-09 16:20:16 +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
bb40c2a2a8
Smoke test Python 3.8
2019-02-09 11:55:22 +01: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
Miro Hrončok
8dbc369a49
More test output
2018-12-20 11:31:22 +01:00
Miro Hrončok
ead01d15f0
Find leaks!
2018-11-30 10:12:31 +01:00
Miro Hrončok
97db1f97bb
Run Python 3.7 selftest tests in selftest tests of these tests
2018-11-29 16:50:35 +01:00
Petr Šplíchal
81d0de13aa
Enable smoke test in the tests namespace pipeline
2018-11-28 13:39:02 +01:00
Miro Hrončok
11bfd62cc1
Add selftest suite (untested)
2018-11-14 16:31:00 +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