From 2b68c2759e13e09a4bf6c444bf537213df073180 Mon Sep 17 00:00:00 2001 From: Marcin Raba Date: Fri, 16 Feb 2024 11:54:51 +0100 Subject: [PATCH] SNOW-1058245-sqlalchemy-20-support: update VERSION syntax and add pyproject.toml for project definition --- pyproject.toml | 8 ++------ setup.cfg => setup_.cfg | 2 +- setup.py => setup_.py | 0 3 files changed, 3 insertions(+), 7 deletions(-) rename setup.cfg => setup_.cfg (98%) rename setup.py => setup_.py (100%) diff --git a/pyproject.toml b/pyproject.toml index 9b655d53..53745c94 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,12 +38,7 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules", ] -dependencies = [ - # "importlib-metadata;python_version<\"3.8\"", - "snowflake-connector-python", - # "sqlalchemy>=2.0.0", - "sqlalchemy<2.0.0", -] +dependencies = ["snowflake-connector-python", "sqlalchemy<2.1.0,>=1.4.0"] [project.optional-dependencies] development = [ @@ -54,6 +49,7 @@ development = [ "pytest-rerunfailures", "pytest-timeout", "pytz", + "pre-commit", ] pandas = ["snowflake-connector-python[pandas]"] diff --git a/setup.cfg b/setup_.cfg similarity index 98% rename from setup.cfg rename to setup_.cfg index b1cbfa47..db9c64b2 100644 --- a/setup.cfg +++ b/setup_.cfg @@ -47,7 +47,7 @@ python_requires = >=3.7 packages = find_namespace: install_requires = importlib-metadata;python_version<"3.8" - sqlalchemy<2.1.0,>=1.4.0 + sqlalchemy<2.1.0 ; Keep in sync with extras dependency snowflake-connector-python<4.0.0 include_package_data = True diff --git a/setup.py b/setup_.py similarity index 100% rename from setup.py rename to setup_.py