From 7a6298e99a655ee59567c4b26f83e31e19587a75 Mon Sep 17 00:00:00 2001 From: chrisjsimpson Date: Mon, 25 Dec 2023 16:18:30 +0000 Subject: [PATCH] wip Fix #1276 use python 3.12 using rye & update all packages --- .python-version | 1 + pyproject.toml | 61 ++++++++++++++++++++++++++++++++++++ requirements.lock | 79 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+) create mode 100644 .python-version create mode 100644 pyproject.toml create mode 100644 requirements.lock diff --git a/.python-version b/.python-version new file mode 100644 index 00000000..57ef42fd --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +cpython-x86_64-linux@3.12.0 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..71f62400 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,61 @@ +[project] +name = "subscribie" +version = "v0.1.181" +description = "Collect recurring payments online - subscription payments collection automation" +authors = [ + { name = "chrisjsimpson", email = "chris.j.simpson@live.co.uk" } +] +dependencies = [ + "graphviz", + "graphlib", + "wheel", + "Flask", + "flask_cors", + "Flask-Reuploaded", + "Flask-WTF", + "email-validator", + "Flask-Mail", + "requests", + "blinker", + "stripe", + "GitPython", + "pathlib", + "pytest", + "Flask-SQLAlchemy", + "Flask-Migrate", + "Flask-Babel", + "python-dotenv", + "pyjwt[crypto]", + "py-auth-header-parser", + "pydantic", + "backoff", + "coloredlogs", + "env-validate", + "python-dateutil", + "currency-symbols", + "pycryptodome", + "pycountry", + "SQLAlchemy", + "scipy", + "pandas", + "scikit-learn", + "black>=23.12.1", +] +readme = "README.md" +requires-python = ">= 3.8" + +[project.scripts] + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.rye] +managed = true +dev-dependencies = [] + +[tool.hatch.metadata] +allow-direct-references = true + +[tool.hatch.build.targets.wheel] +packages = ["./"] diff --git a/requirements.lock b/requirements.lock new file mode 100644 index 00000000..6c54a8d1 --- /dev/null +++ b/requirements.lock @@ -0,0 +1,79 @@ +# generated by rye +# use `rye lock` or `rye sync` to update this lockfile +# +# last locked with the following flags: +# pre: false +# features: [] +# all-features: false + +-e file:. +alembic==1.13.1 +annotated-types==0.6.0 +babel==2.14.0 +backoff==2.2.1 +black==23.12.1 +blinker==1.7.0 +certifi==2023.11.17 +cffi==1.16.0 +charset-normalizer==3.3.2 +click==8.1.7 +coloredlogs==15.0.1 +cryptography==41.0.7 +currency-symbols==2.0.3 +dnspython==2.4.2 +email-validator==2.1.0.post1 +env-validate==0.5 +flask==3.0.0 +flask-babel==4.0.0 +flask-cors==4.0.0 +flask-mail==0.9.1 +flask-migrate==4.0.5 +flask-reuploaded==1.4.0 +flask-sqlalchemy==3.1.1 +flask-wtf==1.2.1 +gitdb==4.0.11 +gitpython==3.1.40 +graphlib==0.9.5 +graphviz==0.20.1 +greenlet==3.0.3 +humanfriendly==10.0 +idna==3.6 +iniconfig==2.0.0 +itsdangerous==2.1.2 +jinja2==3.1.2 +joblib==1.3.2 +mako==1.3.0 +markupsafe==2.1.3 +mypy-extensions==1.0.0 +numpy==1.26.2 +packaging==23.2 +pandas==2.1.4 +pathlib==1.0.1 +pathspec==0.12.1 +platformdirs==4.1.0 +pluggy==1.3.0 +py-auth-header-parser==1.0.2 +pycountry==23.12.11 +pycparser==2.21 +pycryptodome==3.19.0 +pydantic==2.5.3 +pydantic-core==2.14.6 +pyjwt==2.8.0 +pytest==7.4.3 +python-dateutil==2.8.2 +python-dotenv==1.0.0 +pytz==2023.3.post1 +requests==2.31.0 +scikit-learn==1.3.2 +scipy==1.11.4 +six==1.16.0 +smmap==5.0.1 +sqlalchemy==2.0.23 +stripe==7.10.0 +threadpoolctl==3.2.0 +typing-extensions==4.9.0 +tzdata==2023.3 +urllib3==2.1.0 +werkzeug==3.0.1 +wheel==0.42.0 +wtforms==3.1.1