You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw a deprecation warning while installing in debian 12 bookworm:
This seem related to future pip 23.1 version:
$ python --version
Python 3.11.2
$ pip --version version
pip 23.0.1 from /app/venv/lib/python3.11/site-packages/pip (python 3.11)
# pip install xkcdpass
Collecting xkcdpass
Using cached xkcdpass-1.19.8.tar.gz (2.7 MB)
Preparing metadata (setup.py) ... done
Installing collected packages: xkcdpass
DEPRECATION: xkcdpass is being installed using the legacy 'setup.py install' method,
because it does not have a 'pyproject.toml' and the 'wheel' package is not installed.
pip 23.1 will enforce this behaviour change. A possible replacement is to enable
the '--use-pep517' option.
Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for xkcdpass ... done
Successfully installed xkcdpass-1.19.8
Reproduce:
Dockerfile.xkcdpass 📁
# - python 3.11 (from bookworm debian 12)FROM debian:bookworm
# Disable interactive prompts on package installationENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
python3.11-venv \
python3 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# installing our appWORKDIR /app
RUN python3 -m venv venv
# put our venv first in $PATHENV PATH=/app/venv/bin:$PATH
# starting here, it uses our venvRUN pip install xkcdpass
docker build -t xkcdpass -f Dockerfile.xkcdpass .
The text was updated successfully, but these errors were encountered:
Hi @Sylvain303 - thank you for the kind words! I have created a created a packaging branch to track updating the packaging to use a pyproject.toml
hatch build appears to work correctly when run against that branch but I'm not completely up to speed with best-practices here, so any thoughts or feedback would be appreciated.
Hello,
Nice password generator. Great job. Thanks!
I saw a deprecation warning while installing in debian 12 bookworm:
This seem related to future pip 23.1 version:
Reproduce:
Dockerfile.xkcdpass
📁docker build -t xkcdpass -f Dockerfile.xkcdpass .
The text was updated successfully, but these errors were encountered: