Back to 3.8.1 and fix poetry issue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2023-02-28 12:00:32 +01:00
parent 779135d82e
commit 44ad73312c
3 changed files with 7 additions and 5 deletions

View File

@ -4,9 +4,10 @@ type: docker
steps: steps:
- name: lint - name: lint
image: python:3.9 image: python:3.8
commands: commands:
- pip install poetry - pip install poetry
- poetry config installer.modern-installation false
- poetry install - poetry install
- poetry run flake8 . - poetry run flake8 .
- poetry run mypy . - poetry run mypy .
@ -23,9 +24,10 @@ steps:
from_secret: docker_password from_secret: docker_password
- name: publish - name: publish
image: python:3.9 image: python:3.8
commands: commands:
- pip install poetry - pip install poetry
- poetry config installer.modern-installation false
- poetry publish --build - poetry publish --build
environment: environment:
POETRY_PYPI_TOKEN_PYPI: POETRY_PYPI_TOKEN_PYPI:

4
poetry.lock generated
View File

@ -1680,5 +1680,5 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.9" python-versions = "^3.8.1"
content-hash = "5a75bc7d0a13211f08598f7d1d4a1da8922220d8061a975c1eaa6aecc42defa7" content-hash = "e50c1ea482752c56326890aa403660910ce9517b5eae2f4fd62e26d9a7e74e51"

View File

@ -12,7 +12,7 @@ repository = "https://git.crystalyx.net/Xefir/Divent"
divent = 'divent.bot:__main__' divent = 'divent.bot:__main__'
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.9" python = "^3.8.1"
disnake = "^2.8.0" disnake = "^2.8.0"
ics = "0.8.0.dev0" ics = "0.8.0.dev0"
python-dotenv = "^1.0.0" python-dotenv = "^1.0.0"