pypiserver/tests
Mitja O 2f0a56c380
fix: support Python 3.12 (#539)
* chore: pin explicit Python 3.12

* chore: add a `test-python` for stable Python

* chore: empty commit

* chore: add some FIXMEs

* chore: add `packaging`

* chore(wip): replace `LegacyVersion` with `packaging`'s `parse`

* chore(wip): bypass `strtobool` usage

* chore(wip): `pkg_resources` are deprecated

* chore(wip): naive way to support Python <3.12

* chore(wip): swap import order

* chore(wip): try fixing version check

* chore: add a fixme

* chore(wip): reverse legacy pip check

* chore(wip): legacy pip  check for 9 or lower

* fix: fix the legacy pip check

* chore: small cleanup

* chore(wip): try the `importlib_resources`

* chore: add small comment

* chore(wip): avoid `setup.py` in fixtures

* chore(wip): version-compatible wheel build

* chore: install `build` for `3.8` too

* fix: mypy issues

* chore: fix comments

* fix: more formatting fixes

* fix: mdformat

* fix: pass wrong auth to `failed_auth` test

* chore: cleanup packages before and after test runs

* chore(wip): try to bypass test error

* chore: add a tech debt comment

* chore: undo too many changes

* chore(wip): small debug experiment

* chore(wip): skip some tests

* chore(wip): use nonsense code

* fix(chore): small fix to the nonsense code

* chore(wip): try `--force-reinstall`

* chore: finalize the docker tests
2024-04-01 21:30:02 +02:00
..
__init__.py Added init.py to tests 2016-05-12 20:02:10 -05:00
doubles.py Cleanup code to python 3.6 (#342) 2020-10-07 20:45:51 -05:00
sample_msg.html Use bottle's SimpleTemplate engine to avoid XSS on welcome-page (#77). 2015-02-22 18:43:35 +01:00
test_app.py Fix Json Info for same version (#511) 2023-09-25 09:58:11 +02:00
test_backend.py Refactor storage operations into separate Backend classes (#348) 2021-02-02 11:44:29 -06:00
test_config.py feat: 🩺 allow customized health check endpoint (#442) 2022-11-02 12:32:20 +01:00
test_core.py Refactor storage operations into separate Backend classes (#348) 2021-02-02 11:44:29 -06:00
test_docs.py Feature/markdown conversion (#503) 2023-08-15 11:16:30 +02:00
test_init.py chore: make the last supported python version explicit in ci.yaml (#558) 2024-04-01 12:23:42 +02:00
test_main.py FEAT: Switch default hash-algo to sha256 (#459) 2023-09-08 12:30:54 +02:00
test_manage.py Refactor storage operations into separate Backend classes (#348) 2021-02-02 11:44:29 -06:00
test_pkg_helpers.py chore: add tar xz test case (#538) 2023-11-13 16:19:52 +01:00
test_server.py fix: support Python 3.12 (#539) 2024-04-01 21:30:02 +02:00
test-ignorelist Backwards-compatible argparse config (not yet in use) (#339) 2020-10-08 19:37:39 -05:00