Skip to content

Commit 6b90eba

Browse files
downgrade pydantic
1 parent b2f1904 commit 6b90eba

1 file changed

Lines changed: 42 additions & 51 deletions

File tree

pyproject.toml

Lines changed: 42 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,50 @@
1-
[tool.poetry]
1+
[build-system]
2+
requires = ["poetry-core>=1.0.0"]
3+
build-backend = "poetry.core.masonry.api"
4+
5+
[project]
26
name = "etptypes"
37
version = "0.0.0"
4-
description = "ETP python dev kit"
8+
description = "ETP Python dev kit"
59
authors = [
6-
"Lionel Untereiner <lionel.untereiner@geosiris.com>",
7-
"Valentin Gauthier <valentin.gauthier@geosiris.com>"
10+
{ name = "Lionel Untereiner", email = "lionel.untereiner@geosiris.com" },
11+
{ name = "Valentin Gauthier", email = "valentin.gauthier@geosiris.com" }
812
]
9-
license = "Apache-2.0"
13+
license = { text = "Apache-2.0" }
1014
readme = "README.md"
11-
repository = "https://github.com/geosiris-technologies/etptypes-python"
12-
homepage = "http://www.geosiris.com"
13-
classifiers = [
14-
"Intended Audience :: Information Technology",
15-
"Intended Audience :: System Administrators",
16-
"Operating System :: OS Independent",
17-
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python",
19-
"Topic :: Internet",
20-
"Topic :: Software Development :: Libraries :: Application Frameworks",
21-
"Topic :: Software Development :: Libraries :: Python Modules",
22-
"Topic :: Software Development :: Libraries",
23-
"Topic :: Software Development",
24-
"Typing :: Typed",
25-
"Development Status :: 4 - Beta",
26-
"Environment :: Web Environment",
27-
"Intended Audience :: Developers",
28-
"License :: OSI Approved :: Apache Software License",
29-
"Programming Language :: Python :: 3 :: Only",
30-
"Programming Language :: Python :: 3.8",
31-
"Programming Language :: Python :: 3.9",
32-
"Programming Language :: Python :: 3.10",
33-
"Programming Language :: Python :: 3.11",
34-
"Topic :: Internet :: WWW/HTTP",
35-
]
15+
requires-python = ">=3.9, <4.0"
3616
keywords = ["ETP"]
3717

38-
[tool.poetry.dependencies]
39-
python = "^3.9"
40-
pydantic = "^2.10.0"
41-
typingx = "^0.6.0"
18+
dependencies = [
19+
"pydantic<2.0.0", # Some dependencies are not compatible with pydantic > 2.0.0
20+
"typingx>=0.6.0"
21+
]
4222

43-
[build-system]
44-
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
45-
build-backend = "poetry_dynamic_versioning.backend"
46-
47-
[tool.poetry-dynamic-versioning]
48-
enable = true
49-
vcs = "git"
50-
style = "pep440"
51-
format-jinja = """
52-
{%- if distance == 0 -%}
53-
{{ serialize_pep440(base, stage, revision) }}
54-
{%- elif revision is not none -%}
55-
{{ serialize_pep440(base, stage, revision + 1, dev=distance) }}
56-
{%- else -%}
57-
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance) }}
58-
{%- endif -%}
59-
"""
23+
[project.optional-dependencies]
24+
dev = [
25+
"pytest>=8.3.4",
26+
"beartype",
27+
"mypy"
28+
]
29+
30+
[project.urls]
31+
homepage = "http://www.geosiris.com"
32+
repository = "https://github.com/geosiris-technologies/etptypes-python"
33+
bug-tracker = "https://github.com/geosiris-technologies/etptypes-python/issues"
34+
35+
[project.scripts]
36+
etp-cli = "etptypes.cli:main"
37+
38+
[tool.setuptools]
39+
packages = ["etptypes"]
40+
41+
[tool.black]
42+
line-length = 88
43+
target-version = ['py39', 'py310', 'py311']
44+
45+
[tool.pytest.ini_options]
46+
addopts = "--strict-markers"
47+
testpaths = ["tests"]
48+
49+
[tool.mypy]
50+
strict = true

0 commit comments

Comments
 (0)