Commit graph

38 commits

Author SHA1 Message Date
Miro Hrončok
5a345b59d6 Adjust the test cases here for rawhide 2025-07-10 13:16:45 +02:00
Miro Hrončok
223296d711 Allow skipping virtual environment tests
This is useful for tox end ensurepip tests for pypy 2.7.
2025-07-10 13:16:45 +02:00
Miro Hrončok
5c46fa4679 Inject $TOX_REQUIRES to tox config
E.g. use TOX_REQUIRES="virtualenv<20.22.0" to test tox provision for old Pythons.
2024-11-11 16:59:01 +01:00
Miro Hrončok
5ffff08833 Do not skip a flag without -O, if the flag is checked explicitly 2024-09-11 22:27:17 +02:00
Miro Hrončok
1ad7f0cc25 Skip Python 2.7 tests on rawhide 2024-09-11 20:29:46 +02:00
Miro Hrončok
800608da2e Allow to check explicit flags in assertflags.py 2024-08-01 15:00:27 +02:00
Miro Hrončok
b8d9e52c94 Update the list of self-tested Pythons
python3.7 was retired in f40+
python3.5 is retired everywhere

I intentionally kept python3.4 so we have at least one test that is skipped.
2024-04-04 21:36:34 +02:00
Miro Hrončok
6f4fdf29c4 Allow testing virtualenv with --download 2024-04-04 17:50:39 +02:00
Miro Hrončok
548de9fc09 Run the CI tests of this repo with pypy3.9 instead of retired pypy3.8 2023-04-28 16:32:49 +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
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