Update Python
This commit is contained in:
parent
96ac519fde
commit
8eb8990cf5
@ -4,7 +4,7 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: python:3.11
|
container: python:3.12
|
||||||
steps:
|
steps:
|
||||||
- run: apt-get update
|
- run: apt-get update
|
||||||
- run: apt-get install -y git nodejs
|
- run: apt-get install -y git nodejs
|
||||||
@ -43,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
pypi:
|
pypi:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: python:3.11
|
container: python:3.12
|
||||||
needs: [lint]
|
needs: [lint]
|
||||||
if: startsWith(gitea.ref, 'refs/tags')
|
if: startsWith(gitea.ref, 'refs/tags')
|
||||||
env:
|
env:
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
FROM python:3.11.6 as build
|
FROM python:3.12.0 as build
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pip install poetry && poetry build
|
RUN pip install poetry && poetry build
|
||||||
|
|
||||||
FROM python:3.11.5
|
FROM python:3.12.0
|
||||||
|
|
||||||
COPY --from=build /app/dist /tmp/dist
|
COPY --from=build /app/dist /tmp/dist
|
||||||
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
|
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
|
||||||
|
104
poetry.lock
generated
104
poetry.lock
generated
@ -195,8 +195,6 @@ mypy-extensions = ">=0.4.3"
|
|||||||
packaging = ">=22.0"
|
packaging = ">=22.0"
|
||||||
pathspec = ">=0.9.0"
|
pathspec = ">=0.9.0"
|
||||||
platformdirs = ">=2"
|
platformdirs = ">=2"
|
||||||
tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""}
|
|
||||||
typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""}
|
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
colorama = ["colorama (>=0.4.3)"]
|
colorama = ["colorama (>=0.4.3)"]
|
||||||
@ -407,7 +405,6 @@ json5 = ">=0.9.11,<0.10.0"
|
|||||||
pathspec = ">=0.11.0,<0.12.0"
|
pathspec = ">=0.11.0,<0.12.0"
|
||||||
PyYAML = ">=6.0,<7.0"
|
PyYAML = ">=6.0,<7.0"
|
||||||
regex = ">=2023.0.0,<2024.0.0"
|
regex = ">=2023.0.0,<2024.0.0"
|
||||||
tomli = {version = ">=2.0.1,<3.0.0", markers = "python_version < \"3.11\""}
|
|
||||||
tqdm = ">=4.62.2,<5.0.0"
|
tqdm = ">=4.62.2,<5.0.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -421,20 +418,6 @@ files = [
|
|||||||
{file = "EditorConfig-0.12.3.tar.gz", hash = "sha256:57f8ce78afcba15c8b18d46b5170848c88d56fd38f05c2ec60dbbfcb8996e89e"},
|
{file = "EditorConfig-0.12.3.tar.gz", hash = "sha256:57f8ce78afcba15c8b18d46b5170848c88d56fd38f05c2ec60dbbfcb8996e89e"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "exceptiongroup"
|
|
||||||
version = "1.1.3"
|
|
||||||
description = "Backport of PEP 654 (exception groups)"
|
|
||||||
optional = false
|
|
||||||
python-versions = ">=3.7"
|
|
||||||
files = [
|
|
||||||
{file = "exceptiongroup-1.1.3-py3-none-any.whl", hash = "sha256:343280667a4585d195ca1cf9cef84a4e178c4b6cf2274caef9859782b567d5e3"},
|
|
||||||
{file = "exceptiongroup-1.1.3.tar.gz", hash = "sha256:097acd85d473d75af5bb98e41b61ff7fe35efe6675e4f9370ec6ec5126d160e9"},
|
|
||||||
]
|
|
||||||
|
|
||||||
[package.extras]
|
|
||||||
test = ["pytest (>=6)"]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "flake8"
|
name = "flake8"
|
||||||
version = "6.1.0"
|
version = "6.1.0"
|
||||||
@ -464,7 +447,6 @@ files = [
|
|||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
flake8 = ">3.0.0"
|
flake8 = ">3.0.0"
|
||||||
stdlib-list = {version = "0.8.0", markers = "python_version < \"3.10\""}
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "flake8-black"
|
name = "flake8-black"
|
||||||
@ -480,7 +462,6 @@ files = [
|
|||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
black = ">=22.1.0"
|
black = ">=22.1.0"
|
||||||
flake8 = ">=3"
|
flake8 = ">=3"
|
||||||
tomli = {version = "*", markers = "python_version < \"3.11\""}
|
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
develop = ["build", "twine"]
|
develop = ["build", "twine"]
|
||||||
@ -497,7 +478,6 @@ files = [
|
|||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
Flake8 = ">=5"
|
Flake8 = ">=5"
|
||||||
TOMLi = {version = "*", markers = "python_version < \"3.11\""}
|
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
dev = ["pyTest", "pyTest-cov"]
|
dev = ["pyTest", "pyTest-cov"]
|
||||||
@ -516,7 +496,6 @@ files = [
|
|||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
blinker = ">=1.6.2"
|
blinker = ">=1.6.2"
|
||||||
click = ">=8.1.3"
|
click = ">=8.1.3"
|
||||||
importlib-metadata = {version = ">=3.6.0", markers = "python_version < \"3.10\""}
|
|
||||||
itsdangerous = ">=2.1.2"
|
itsdangerous = ">=2.1.2"
|
||||||
Jinja2 = ">=3.1.2"
|
Jinja2 = ">=3.1.2"
|
||||||
Werkzeug = ">=3.0.0"
|
Werkzeug = ">=3.0.0"
|
||||||
@ -669,8 +648,6 @@ files = [
|
|||||||
h11 = "*"
|
h11 = "*"
|
||||||
h2 = ">=3.1.0"
|
h2 = ">=3.1.0"
|
||||||
priority = "*"
|
priority = "*"
|
||||||
taskgroup = {version = "*", markers = "python_version < \"3.11\""}
|
|
||||||
tomli = {version = "*", markers = "python_version < \"3.11\""}
|
|
||||||
wsproto = ">=0.14.0"
|
wsproto = ">=0.14.0"
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
@ -740,25 +717,6 @@ files = [
|
|||||||
{file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"},
|
{file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "importlib-metadata"
|
|
||||||
version = "6.8.0"
|
|
||||||
description = "Read metadata from Python packages"
|
|
||||||
optional = false
|
|
||||||
python-versions = ">=3.8"
|
|
||||||
files = [
|
|
||||||
{file = "importlib_metadata-6.8.0-py3-none-any.whl", hash = "sha256:3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb"},
|
|
||||||
{file = "importlib_metadata-6.8.0.tar.gz", hash = "sha256:dbace7892d8c0c4ac1ad096662232f831d4e64f4c4545bd53016a3e9d4654743"},
|
|
||||||
]
|
|
||||||
|
|
||||||
[package.dependencies]
|
|
||||||
zipp = ">=0.5"
|
|
||||||
|
|
||||||
[package.extras]
|
|
||||||
docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"]
|
|
||||||
perf = ["ipython"]
|
|
||||||
testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)", "pytest-ruff"]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "importlib-resources"
|
name = "importlib-resources"
|
||||||
version = "1.5.0"
|
version = "1.5.0"
|
||||||
@ -1030,7 +988,6 @@ files = [
|
|||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
mypy-extensions = ">=1.0.0"
|
mypy-extensions = ">=1.0.0"
|
||||||
tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""}
|
|
||||||
typing-extensions = ">=4.1.0"
|
typing-extensions = ">=4.1.0"
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
@ -1239,11 +1196,9 @@ blinker = ">=1.6"
|
|||||||
click = ">=8.0.0"
|
click = ">=8.0.0"
|
||||||
flask = ">=3.0.0"
|
flask = ">=3.0.0"
|
||||||
hypercorn = ">=0.11.2"
|
hypercorn = ">=0.11.2"
|
||||||
importlib_metadata = {version = "*", markers = "python_version < \"3.10\""}
|
|
||||||
itsdangerous = "*"
|
itsdangerous = "*"
|
||||||
jinja2 = "*"
|
jinja2 = "*"
|
||||||
markupsafe = "*"
|
markupsafe = "*"
|
||||||
typing_extensions = {version = "*", markers = "python_version < \"3.10\""}
|
|
||||||
werkzeug = ">=3.0.0"
|
werkzeug = ">=3.0.0"
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
@ -1397,45 +1352,6 @@ files = [
|
|||||||
{file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
|
{file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "stdlib-list"
|
|
||||||
version = "0.8.0"
|
|
||||||
description = "A list of Python Standard Libraries (2.6-7, 3.2-9)."
|
|
||||||
optional = false
|
|
||||||
python-versions = "*"
|
|
||||||
files = [
|
|
||||||
{file = "stdlib-list-0.8.0.tar.gz", hash = "sha256:a1e503719720d71e2ed70ed809b385c60cd3fb555ba7ec046b96360d30b16d9f"},
|
|
||||||
{file = "stdlib_list-0.8.0-py3-none-any.whl", hash = "sha256:2ae0712a55b68f3fbbc9e58d6fa1b646a062188f49745b495f94d3310a9fdd3e"},
|
|
||||||
]
|
|
||||||
|
|
||||||
[package.extras]
|
|
||||||
develop = ["sphinx"]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "taskgroup"
|
|
||||||
version = "0.0.0a4"
|
|
||||||
description = "backport of asyncio.TaskGroup, asyncio.Runner and asyncio.timeout"
|
|
||||||
optional = false
|
|
||||||
python-versions = "*"
|
|
||||||
files = [
|
|
||||||
{file = "taskgroup-0.0.0a4-py2.py3-none-any.whl", hash = "sha256:5c1bd0e4c06114e7a4128583ab75c987597d5378a33948a3b74c662b90f61277"},
|
|
||||||
{file = "taskgroup-0.0.0a4.tar.gz", hash = "sha256:eb08902d221e27661950f2a0320ddf3f939f579279996f81fe30779bca3a159c"},
|
|
||||||
]
|
|
||||||
|
|
||||||
[package.dependencies]
|
|
||||||
exceptiongroup = "*"
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "tomli"
|
|
||||||
version = "2.0.1"
|
|
||||||
description = "A lil' TOML parser"
|
|
||||||
optional = false
|
|
||||||
python-versions = ">=3.7"
|
|
||||||
files = [
|
|
||||||
{file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
|
|
||||||
{file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tqdm"
|
name = "tqdm"
|
||||||
version = "4.66.1"
|
version = "4.66.1"
|
||||||
@ -1509,7 +1425,6 @@ files = [
|
|||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
click = ">=7.0"
|
click = ">=7.0"
|
||||||
h11 = ">=0.8"
|
h11 = ">=0.8"
|
||||||
typing-extensions = {version = ">=4.0", markers = "python_version < \"3.11\""}
|
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
standard = ["colorama (>=0.4)", "httptools (>=0.5.0)", "python-dotenv (>=0.13)", "pyyaml (>=5.1)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1)", "watchfiles (>=0.13)", "websockets (>=10.4)"]
|
standard = ["colorama (>=0.4)", "httptools (>=0.5.0)", "python-dotenv (>=0.13)", "pyyaml (>=5.1)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1)", "watchfiles (>=0.13)", "websockets (>=10.4)"]
|
||||||
@ -1632,22 +1547,7 @@ files = [
|
|||||||
idna = ">=2.0"
|
idna = ">=2.0"
|
||||||
multidict = ">=4.0"
|
multidict = ">=4.0"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "zipp"
|
|
||||||
version = "3.17.0"
|
|
||||||
description = "Backport of pathlib-compatible object wrapper for zip files"
|
|
||||||
optional = false
|
|
||||||
python-versions = ">=3.8"
|
|
||||||
files = [
|
|
||||||
{file = "zipp-3.17.0-py3-none-any.whl", hash = "sha256:0e923e726174922dce09c53c59ad483ff7bbb8e572e00c7f7c46b88556409f31"},
|
|
||||||
{file = "zipp-3.17.0.tar.gz", hash = "sha256:84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0"},
|
|
||||||
]
|
|
||||||
|
|
||||||
[package.extras]
|
|
||||||
docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"]
|
|
||||||
testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy (>=0.9.1)", "pytest-ruff"]
|
|
||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = ">=3.8.1,<3.12"
|
python-versions = ">=3.12,<3.13"
|
||||||
content-hash = "30113574429e0ed0539ebe2850264eb819fb2a7af92310402c9eccbca33487ed"
|
content-hash = "7c292908475246ba8866fb9d8b213b2cddc65f83bdc44f878a127f770ce8b24f"
|
||||||
|
@ -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.8.1,<3.12"
|
python = ">=3.12,<3.13"
|
||||||
disnake = "^2.9.1"
|
disnake = "^2.9.1"
|
||||||
ics = "0.8.0.dev0"
|
ics = "0.8.0.dev0"
|
||||||
python-dotenv = "^1.0.0"
|
python-dotenv = "^1.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user