From 44ad73312c1013b32c941f9cbdda0714a1c4dc4b Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Tue, 28 Feb 2023 12:00:32 +0100 Subject: [PATCH] Back to 3.8.1 and fix poetry issue --- .drone.yml | 6 ++++-- poetry.lock | 4 ++-- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3e96f38..9ccc542 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,9 +4,10 @@ type: docker steps: - name: lint - image: python:3.9 + image: python:3.8 commands: - pip install poetry + - poetry config installer.modern-installation false - poetry install - poetry run flake8 . - poetry run mypy . @@ -23,9 +24,10 @@ steps: from_secret: docker_password - name: publish - image: python:3.9 + image: python:3.8 commands: - pip install poetry + - poetry config installer.modern-installation false - poetry publish --build environment: POETRY_PYPI_TOKEN_PYPI: diff --git a/poetry.lock b/poetry.lock index 7af0657..d189663 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1680,5 +1680,5 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" -python-versions = "^3.9" -content-hash = "5a75bc7d0a13211f08598f7d1d4a1da8922220d8061a975c1eaa6aecc42defa7" +python-versions = "^3.8.1" +content-hash = "e50c1ea482752c56326890aa403660910ce9517b5eae2f4fd62e26d9a7e74e51" diff --git a/pyproject.toml b/pyproject.toml index 85f9c91..b409763 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ repository = "https://git.crystalyx.net/Xefir/Divent" divent = 'divent.bot:__main__' [tool.poetry.dependencies] -python = "^3.9" +python = "^3.8.1" disnake = "^2.8.0" ics = "0.8.0.dev0" python-dotenv = "^1.0.0"