Commit graph

28 commits

Author SHA1 Message Date
Miro Hrončok
51c24d51d1 dnf install cannot be run as non-root 2022-11-26 22:42:49 +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
Tomáš Hrnčiar
fd113d4cf8 Add gcc-c++ dependency to run Python 3.11 test 2022-05-09 12:27:26 +02: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
beb705f0d0 Enable Cython test for Python 3.11, using the git master 2021-10-29 16:47:42 +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
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
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
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
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
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
bb40c2a2a8 Smoke test Python 3.8 2019-02-09 11:55: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