mirror of
https://github.com/Balshgit/python-poetry.git
synced 2025-09-11 21:50:40 +03:00
Compare commits
5 Commits
f2f0a8a38b
...
ee2b685ad9
Author | SHA1 | Date | |
---|---|---|---|
ee2b685ad9 | |||
96bd888727 | |||
f7d87873da | |||
08e209054d | |||
db8687345c |
8
.github/workflows/poetry-test.yml
vendored
8
.github/workflows/poetry-test.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
#----------------------------------------------
|
||||
- name: Install poetry
|
||||
env: # Keep in sync with `POETRY_VERSION` in `Dockerfile`
|
||||
POETRY_VERSION: "1.7.0"
|
||||
POETRY_VERSION: "1.7.1"
|
||||
run: |
|
||||
curl -sSL "https://install.python-poetry.org" | python -
|
||||
# Adding `poetry` to `$PATH`:
|
||||
@ -76,6 +76,10 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: Check docker-compose
|
||||
env: # Keep in sync with `POETRY_VERSION` in `Dockerfile`
|
||||
POETRY_LOCK: "./poetry/poetry.lock"
|
||||
REQUIREMENTS: "./poetry/requirements.txt"
|
||||
run: |
|
||||
cp pyproject.toml ./poetry
|
||||
docker compose up --build
|
||||
bash build-check.sh
|
||||
shell: bash
|
@ -1,6 +1,6 @@
|
||||
FROM python:3.11.6
|
||||
|
||||
ARG POETRY_VERSION=1.7.0
|
||||
ARG POETRY_VERSION=1.7.1
|
||||
ARG USER
|
||||
|
||||
# python:
|
||||
@ -48,6 +48,11 @@ RUN export PATH="${PATH}:/root/.local/bin" \
|
||||
&& poetry lock \
|
||||
&& poetry export -f requirements.txt --with dev --without-hashes --output requirements.txt
|
||||
|
||||
RUN if [ -f poetry.lock ] && [ -f requirements.txt ]; then \
|
||||
echo "poetry.lock and requirements.txt created successfully" && exit 0; \
|
||||
else echo "there is no poetry.lock or requirements.txt" && exit 1; \
|
||||
fi
|
||||
|
||||
CMD [ "/bin/bash", "-c", "cp /code/* /poetry -r && chown ${USER}:$USER -R /poetry" ]
|
||||
|
||||
|
||||
|
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
POETRYLOCK=./poetry/poetry.lock
|
||||
REQUIREMENTS=./poetry/requirements.txt
|
||||
|
||||
if [ -f "$POETRYLOCK" ] && [ -f "$REQUIREMENTS" ]; then
|
||||
echo "poetry.lock and requirements.txt created successfully"
|
||||
exit 0
|
||||
fi
|
||||
|
862
poetry.lock
generated
862
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,16 +1,16 @@
|
||||
[tool.poetry]
|
||||
name = "main packages"
|
||||
version = "1.1.0"
|
||||
version = "1.3.5"
|
||||
description = "poetry requirements creation"
|
||||
authors = ["Dmitry Afanasyev <Balshbox@gmail.com>"]
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.7.0"]
|
||||
requires = ["poetry-core>=1.7.1"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python=">=3.11,<3.12"
|
||||
aiohttp = "^3.8"
|
||||
aiohttp = "^3.9"
|
||||
aiosignal = "^1.3"
|
||||
alembic = "^1.11"
|
||||
bcrypt = "^4.0"
|
||||
@ -34,9 +34,9 @@ pre-commit = "^3.5"
|
||||
prompt-toolkit = "^3.0"
|
||||
psycopg2-binary = "^2.9.7"
|
||||
PyAutoGUI = "^0.9"
|
||||
pydantic = "^2.3"
|
||||
pydantic = "^2.5"
|
||||
Pygments = "^2.16"
|
||||
pyinstaller = "^6.1"
|
||||
pyinstaller = "^6.2"
|
||||
PyQt6 = "^6.5"
|
||||
python-decouple = "^3.8"
|
||||
pytz = "^2023.3"
|
||||
@ -56,8 +56,8 @@ zipp = "^3.16"
|
||||
[tool.poetry.dev-dependencies]
|
||||
ipython = "^8.14"
|
||||
|
||||
black = "^23.10"
|
||||
mypy = "^1.6"
|
||||
black = "^23.11"
|
||||
mypy = "^1.7"
|
||||
|
||||
autoflake = "^2.2"
|
||||
flake8 = "^6.1"
|
||||
@ -87,7 +87,7 @@ pytest = "^7.4"
|
||||
pytest-asyncio = "^0.21"
|
||||
pytest-deadfixtures = "^2.2"
|
||||
pytest-repeat = "^0.9"
|
||||
pytest-testmon = "^2.0"
|
||||
pytest-testmon = "^2.1"
|
||||
pytest-mock = "^3.12"
|
||||
pytest-cov = "^4.1"
|
||||
pytest-timeout = "^2.1"
|
||||
@ -96,7 +96,7 @@ pytest-sugar = "^0.9"
|
||||
pytest-clarity = "^1.0"
|
||||
pytest-env = "^1.0.1"
|
||||
nest-asyncio = "^1.5"
|
||||
pytest-html = "^4.0"
|
||||
pytest-html = "^4.1"
|
||||
pytest-randomly = "^3.15"
|
||||
pytest-split = "^0.8"
|
||||
pytest-freezegun = "^0.4"
|
||||
@ -104,7 +104,7 @@ pytest-socket = "^0.6"
|
||||
assertpy = "^1.1"
|
||||
respx = "^0.20"
|
||||
|
||||
safety = "^2.3.5"
|
||||
safety = "^2.4.0b2"
|
||||
pip-audit = "^2.6"
|
||||
|
||||
ruff = "^0.1"
|
||||
|
@ -1,4 +1,4 @@
|
||||
aiohttp==3.8.6 ; python_version >= "3.11" and python_version < "3.12"
|
||||
aiohttp==3.9.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
aiosignal==1.3.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
alembic==1.12.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
altgraph==0.17.4 ; python_version >= "3.11" and python_version < "3.12"
|
||||
@ -12,18 +12,18 @@ assertpy==1.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
astor==0.8.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
astroid==3.0.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
asttokens==2.4.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
async-timeout==4.0.3 ; python_version >= "3.11" and python_version < "3.12"
|
||||
async-timeout==4.0.3 ; python_version >= "3.11" and python_full_version <= "3.11.2"
|
||||
attrs==23.1.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
autoflake==2.2.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
bandit==1.7.5 ; python_version >= "3.11" and python_version < "3.12"
|
||||
bcrypt==4.0.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
billiard==4.2.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
binaryornot==0.4.4 ; python_version >= "3.11" and python_version < "3.12"
|
||||
black==23.10.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
black==23.11.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
boolean-py==4.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
cachecontrol[filecache]==0.13.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
celery==5.3.4 ; python_version >= "3.11" and python_version < "3.12"
|
||||
certifi==2023.7.22 ; python_version >= "3.11" and python_version < "3.12"
|
||||
celery==5.3.5 ; python_version >= "3.11" and python_version < "3.12"
|
||||
certifi==2023.11.17 ; python_version >= "3.11" and python_version < "3.12"
|
||||
cffi==1.16.0 ; os_name == "nt" and implementation_name != "pypy" and python_version >= "3.11" and python_version < "3.12"
|
||||
cfgv==3.4.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
chardet==5.2.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
@ -42,8 +42,6 @@ defusedxml==0.7.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
distlib==0.3.7 ; python_version >= "3.11" and python_version < "3.12"
|
||||
django==4.2.7 ; python_version >= "3.11" and python_version < "3.12"
|
||||
dparse==0.6.3 ; python_version >= "3.11" and python_version < "3.12"
|
||||
easyprocess==1.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
entrypoint2==1.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
eradicate==2.3.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
executing==2.0.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
factory-boy==3.3.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
@ -81,41 +79,40 @@ greenlet==3.0.1 ; python_version >= "3.11" and python_version < "3.12" and (plat
|
||||
gunicorn==21.2.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
h11==0.14.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
html5lib==1.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
httpcore==1.0.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
httpcore==1.0.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
httpx==0.25.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
identify==2.5.31 ; python_version >= "3.11" and python_version < "3.12"
|
||||
idna==3.4 ; python_version >= "3.11" and python_version < "3.12"
|
||||
iniconfig==2.0.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
ipython==8.17.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
jedi==0.19.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
jeepney==0.8.0 ; python_version >= "3.11" and platform_system == "Linux" and python_version < "3.12"
|
||||
jinja2==3.1.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
kombu==5.3.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
kombu==5.3.4 ; python_version >= "3.11" and python_version < "3.12"
|
||||
license-expression==30.1.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
loguru==0.7.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
macholib==1.16.3 ; python_version >= "3.11" and python_version < "3.12" and sys_platform == "darwin"
|
||||
mako==1.2.4 ; python_version >= "3.11" and python_version < "3.12"
|
||||
mako==1.3.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
markdown-it-py==3.0.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
markupsafe==2.1.3 ; python_version >= "3.11" and python_version < "3.12"
|
||||
marshmallow==3.20.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
matplotlib-inline==0.1.6 ; python_version >= "3.11" and python_version < "3.12"
|
||||
mccabe==0.7.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
mdurl==0.1.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
mouseinfo==0.1.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
msgpack==1.0.7 ; python_version >= "3.11" and python_version < "3.12"
|
||||
mss==9.0.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
multidict==6.0.4 ; python_version >= "3.11" and python_version < "3.12"
|
||||
mypy-extensions==1.0.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
mypy==1.6.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
mypy==1.7.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
nest-asyncio==1.5.8 ; python_version >= "3.11" and python_version < "3.12"
|
||||
nodeenv==1.8.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
numpy==1.26.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
numpy==1.26.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
orjson==3.9.10 ; python_version >= "3.11" and python_version < "3.12"
|
||||
outcome==1.3.0.post0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
packageurl-python==0.11.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
packaging==23.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
parso==0.8.3 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pathspec==0.11.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pbr==5.11.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pbr==6.0.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pefile==2023.2.7 ; python_version >= "3.11" and python_version < "3.12" and sys_platform == "win32"
|
||||
pexpect==4.8.0 ; python_version >= "3.11" and python_version < "3.12" and sys_platform != "win32"
|
||||
pillow==10.1.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
@ -127,7 +124,7 @@ platformdirs==3.11.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pluggy==1.3.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pprintpp==0.4.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pre-commit==3.5.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
prompt-toolkit==3.0.39 ; python_version >= "3.11" and python_version < "3.12"
|
||||
prompt-toolkit==3.0.41 ; python_version >= "3.11" and python_version < "3.12"
|
||||
psycopg2-binary==2.9.9 ; python_version >= "3.11" and python_version < "3.12"
|
||||
ptyprocess==0.7.0 ; python_version >= "3.11" and python_version < "3.12" and sys_platform != "win32"
|
||||
pure-eval==0.2.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
@ -135,13 +132,13 @@ py-serializable==0.11.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyautogui==0.9.54 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pycodestyle==2.11.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pycparser==2.21 ; python_version >= "3.11" and os_name == "nt" and implementation_name != "pypy" and python_version < "3.12"
|
||||
pydantic-core==2.10.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pydantic==2.4.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pydantic-core==2.14.3 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pydantic==2.5.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyflakes==3.1.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pygetwindow==0.0.9 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pygments==2.16.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyinstaller-hooks-contrib==2023.10 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyinstaller==6.1.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyinstaller==6.2.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pymsgbox==1.0.9 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyobjc-core==10.0 ; python_version >= "3.11" and python_version < "3.12" and platform_system == "Darwin"
|
||||
pyobjc-framework-accessibility==10.0 ; python_version >= "3.11" and python_version < "3.12" and platform_system == "Darwin" and platform_release >= "20.0"
|
||||
@ -303,8 +300,7 @@ pyqt6-qt6==6.6.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyqt6-sip==13.6.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyqt6==6.6.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyrect==0.2.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyscreenshot==3.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyscreeze==0.1.29 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pyscreeze==0.1.30 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pysocks==1.7.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-asyncio==0.21.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-clarity==1.0.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
@ -312,7 +308,7 @@ pytest-cov==4.1.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-deadfixtures==2.2.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-env==1.1.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-freezegun==0.4.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-html==4.1.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-html==4.1.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-metadata==3.0.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-mock==3.12.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-randomly==3.15.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
@ -320,7 +316,7 @@ pytest-repeat==0.9.3 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-socket==0.6.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-split==0.8.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-sugar==0.9.7 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-testmon==2.0.15 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-testmon==2.1.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-timeout==2.2.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest-timeouts==1.2.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
pytest==7.4.3 ; python_version >= "3.11" and python_version < "3.12"
|
||||
@ -335,19 +331,18 @@ pyyaml==6.0.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
redis[asyncio]==5.0.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
requests==2.31.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
respx==0.20.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
rich==13.6.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
rich==13.7.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
ruamel-yaml-clib==0.2.8 ; platform_python_implementation == "CPython" and python_version < "3.12" and python_version >= "3.11"
|
||||
ruamel-yaml==0.18.5 ; python_version >= "3.11" and python_version < "3.12"
|
||||
ruff==0.1.4 ; python_version >= "3.11" and python_version < "3.12"
|
||||
safety==2.3.4 ; python_version >= "3.11" and python_version < "3.12"
|
||||
ruff==0.1.6 ; python_version >= "3.11" and python_version < "3.12"
|
||||
safety==2.4.0b2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
selenium==4.15.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
setuptools==68.2.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
simple-term-menu==1.6.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
simple-term-menu==1.6.3 ; python_version >= "3.11" and python_version < "3.12"
|
||||
six==1.16.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
smmap==5.0.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
sniffio==1.3.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
sortedcontainers==2.4.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
sqlalchemy-utils==0.41.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
sqlalchemy==2.0.23 ; python_version >= "3.11" and python_version < "3.12"
|
||||
sqlparse==0.4.4 ; python_version >= "3.11" and python_version < "3.12"
|
||||
stack-data==0.6.3 ; python_version >= "3.11" and python_version < "3.12"
|
||||
@ -362,13 +357,13 @@ trio==0.23.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
types-python-dateutil==2.8.19.14 ; python_version >= "3.11" and python_version < "3.12"
|
||||
typing-extensions==4.8.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
tzdata==2023.3 ; python_version >= "3.11" and python_version < "3.12"
|
||||
urllib3==2.0.7 ; python_version >= "3.11" and python_version < "3.12"
|
||||
urllib3[socks]==2.0.7 ; python_version >= "3.11" and python_version < "3.12"
|
||||
urllib3==2.1.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
urllib3[socks]==2.1.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
uvicorn==0.24.0.post1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
validators==0.22.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
vine==5.1.0 ; python_version >= "3.11" and python_version < "3.12"
|
||||
virtualenv==20.24.6 ; python_version >= "3.11" and python_version < "3.12"
|
||||
wcwidth==0.2.9 ; python_version >= "3.11" and python_version < "3.12"
|
||||
wcwidth==0.2.10 ; python_version >= "3.11" and python_version < "3.12"
|
||||
webencodings==0.5.1 ; python_version >= "3.11" and python_version < "3.12"
|
||||
wget==3.2 ; python_version >= "3.11" and python_version < "3.12"
|
||||
win32-setctime==1.1.0 ; python_version >= "3.11" and python_version < "3.12" and sys_platform == "win32"
|
||||
|
Loading…
x
Reference in New Issue
Block a user