From 4e5295527ffaf42c5fb63681a66b7030bc7e32b8 Mon Sep 17 00:00:00 2001 From: Enrico Massa Date: Thu, 19 Sep 2024 16:32:52 +0800 Subject: [PATCH] Fix for python 3.12 compatibility --- pyproject.toml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index de1ed28df..71b81e29f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ requires = [ "lxml >= 4.8", "pandas >= 1.3", "pydantic >=1.9.2, < 2.0"] -requires-python = ">=3.9.6,<3.12" +requires-python = ">=3.9.6" keywords = "statistics, SDMX, pandas, data, economics, science" classifiers = [ "Intended Audience :: Developers", @@ -29,17 +29,20 @@ classifiers = [ "Topic :: Scientific/Engineering :: Information Analysis", "License :: OSI Approved :: Apache Software License"] -[tool.flit.metadata.requires-extra] +[tool.flit.metadata.requires-extra] cache = ["requests_cache >= 0.9.5"] schema = ["appdirs >= 1.4"] -doc = ["sphinx >= 5.2", +doc = ["sphinx >= 5.2", "IPython >= 7.20"] -test = ["pytest >= 5", -"requests-mock >= 1.4"] +test = [ + "pytest >= 5", + "requests-mock >= 1.4", + "pytest-cov >= 5" +] [tool.flit.metadata.urls] Homepage = "https://pandasdmx.readthedocs.io/en/latest/" [tool.flit.sdist] include = ["LICENSE", 'README.rst'] -exclude = ['pandasdmx/tests'] \ No newline at end of file +exclude = ['pandasdmx/tests']