From 597c17c5684916cc3c41b67ca55d1aca62bc45ba Mon Sep 17 00:00:00 2001 From: MrNaif2018 <39452697+MrNaif2018@users.noreply.github.com> Date: Mon, 16 Dec 2024 23:33:18 +0300 Subject: [PATCH] Add python 3.12 (#441) * Add python 3.12 * Fix warnings * Fix build for now --- .circleci/config.yml | 1 + pyproject.toml | 1 + requirements/deterministic/web.txt | 4 ++++ requirements/web.txt | 1 + 4 files changed, 7 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 46f3cc69..68de1609 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -200,6 +200,7 @@ workflows: parameters: v: - "3.11" + - "3.12" - bitcart/functional-tests: name: functional-tests executor: main-executor diff --git a/pyproject.toml b/pyproject.toml index 620d3560..63de2f8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,7 @@ filterwarnings = [ "error::PendingDeprecationWarning", "ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning", "ignore:pkg_resources is deprecated as an API:DeprecationWarning", # sqlalchemy + "ignore:.*datetime.datetime.utcfromtimestamp().*:DeprecationWarning", # sqlalchemy ] norecursedirs = ["tests/functional"] diff --git a/requirements/deterministic/web.txt b/requirements/deterministic/web.txt index 78337ea2..3a827aa9 100644 --- a/requirements/deterministic/web.txt +++ b/requirements/deterministic/web.txt @@ -1458,6 +1458,10 @@ rpds-py==0.22.3 \ # via # jsonschema # referencing +setuptools==75.6.0 \ + --hash=sha256:8199222558df7c86216af4f84c30e9b34a61d8ba19366cc914424cdbd28252f6 \ + --hash=sha256:ce74b49e8f7110f9bf04883b730f4765b774ef3ef28f722cce7c273d253aaf7d + # via -r requirements/web.txt six==1.17.0 \ --hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \ --hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81 diff --git a/requirements/web.txt b/requirements/web.txt index 56b6a69b..c017910f 100644 --- a/requirements/web.txt +++ b/requirements/web.txt @@ -22,5 +22,6 @@ python-dateutil python-dotenv python-multipart redis +setuptools sqlalchemy<1.4 uvicorn[standard]