Files
pipenv/Pipfile
Oz Tiram a5a6069246 chore: bump pypi-server version to 2.3.2 (#6353)
* chore: bump pypi-server version to 2.3.2

This version supports modern python versions

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>

* chore: pin dev dependencies

These were breaking on python3.8 which is now EOL.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>

* fix: attempt checking which pypi-server is installed

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>

* ci: don't run pypi-server via pipenv

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>

* ci: simplify pipeline

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>

* ci: work around issue with pypi-server and older python

It failes to start with:

usage: pypi-server run [-h] [-v] [--log-file FILE] [--log-stream STREAM]
[--log-frmt FORMAT] [--hash-algo HASH_ALGO]
[--backend {auto,simple-dir,cached-dir}] [--version]
[-p PORT] [-i HOST] [-a AUTHENTICATE]
[-P PASSWORD_FILE] [--disable-fallback]
[--fallback-url FALLBACK_URL]
[--health-endpoint HEALTH_ENDPOINT] [--server METHOD]
[-o] [--welcome HTML_FILE] [--cache-control AGE]
[--log-req-frmt FORMAT] [--log-res-frmt FORMAT]
[--log-err-frmt FORMAT]
[package_directory ...]
pypi-server run: error: argument --welcome: invalid html_file_arg value:
'pypiserver/welcome.html'

But only on those versions.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>

* ci: on windows also conditionally use pipenv with pypi-server

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>

* ci: windows worker have default powershell

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>

* ci: revert usage of power shell

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>

* ci: add installation of gunicorn and waitress

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>

---------

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2025-03-09 08:38:14 -04:00

42 lines
1003 B
TOML

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[dev-packages]
pipenv = {path = ".", editable = true, extras = ["tests", "dev"]}
sphinx = "*"
sphinx-click = "==4.*"
sphinxcontrib-spelling = "==7.*"
click = "==8.0.3"
stdeb = {version="*", sys_platform = "== 'linux'"}
zipp = {version = "==3.6.0", markers = "python_version < '3.10'"}
pre-commit = "==2.*"
atomicwrites = {version = "*", sys_platform = "== 'win32'"}
pytest-cov = "==4.*"
typing-extensions = "==4.*"
waitress = {version = "3.*", sys_platform = "== 'win32'"}
gunicorn = {version = "23.0.*", sys_platform = "== 'linux'"}
parse = "*"
importlib-metadata = "*"
colorama= {version = "*", sys_platform = "== 'win32'"}
myst-parser = {extras = ["linkify"], version = "*"}
invoke = "*"
exceptiongroup = "==1.1.0"
tomli = "*"
pyyaml = "==6.0.1"
build = "*"
twine = "*"
semver = "*"
pypiserver = "2.3.2"
[packages]
pytz = "*"
[scripts]
tests = "bash ./run-tests.sh"
test = "pytest -vvs"
[pipenv]
allow_prereleases = true