1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-12-20 13:55:49 +01:00
pypiserver/docker
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
..
docker-requirements.txt chore: Bump waitress from 1.4.4 to 2.1.2 in /docker (#454) 2023-03-07 19:20:09 +01:00
entrypoint.sh Gunicorn/gevent docker, log fixes, cache busting (#371) 2021-02-07 17:04:06 -06:00
gunicorn.conf.py Gunicorn/gevent docker, log fixes, cache busting (#371) 2021-02-07 17:04:06 -06:00
README.md Docker improvements (#365) 2021-02-06 11:28:15 -06:00
test_docker.py fix: support Python 3.12 (#539) 2024-04-01 21:30:02 +02:00

Docker Resources and Tests

This directory contains resources and tests for the docker image.

Note that for these tests to run, the pytest process must be able to run docker. If you are on a system where that requires sudo, you will need to run the tests with sudo.

Tests are here rather than in /tests because there's no reason to run these tests as part of the usual tox process, which is run in CI against every supported Python version. We only need to run the Docker tests once.