@@ -8,16 +8,32 @@ build-backend = "setuptools.build_meta"
88[tool .setuptools .dynamic ]
99version = {attr = " testgres_exts.pglab.__version__" }
1010
11+ [tool .flake8 ]
12+ extend-ignore = [" E501" ]
13+ exclude = [" .git" , " __pycache__" , " env" , " venv" ]
14+
15+ # Pytest settings
16+ [tool .pytest .ini_options ]
17+ testpaths = [" tests" ]
18+ log_file_level = " NOTSET"
19+ log_file_format = " %(levelname)8s [%(asctime)s] %(message)s"
20+ log_file_date_format = " %Y-%m-%d %H:%M:%S"
21+
1122[project ]
1223name = " testgres_exts.pglab"
1324dynamic = [" version" ]
1425description = " Linux netns/cgroup/netem fault injection for PostgreSQL tests using Testgres"
1526readme = " README.md"
16- requires-python = " >=3.8"
17- license = " PostgreSQL"
18- dependencies = [
19- " testgres>=1.17,<1.18" ,
27+
28+ # This old format is used to ensure compatibility with Python 3.7.
29+ license = {text = " PostgreSQL" }
30+
31+ authors = [
32+ {name = " Postgres Professional" , email = " testgres@postgrespro.ru" },
2033]
34+
35+ requires-python = " >=3.8"
36+
2137classifiers = [
2238 " Development Status :: 3 - Alpha" ,
2339 " Intended Audience :: Developers" ,
@@ -34,18 +50,14 @@ classifiers = [
3450 " Topic :: Database" ,
3551]
3652
53+ dependencies = [
54+ " testgres>=1.17,<1.18" ,
55+ ]
56+
3757[project .optional-dependencies ]
3858test = [
39- " pytest>=8,<10 " ,
59+ " pytest" ,
4060]
4161
42- [tool .flake8 ]
43- extend-ignore = [" E501" ]
44- exclude = [" .git" , " __pycache__" , " env" , " venv" ]
45-
46- # Pytest settings
47- [tool .pytest .ini_options ]
48- testpaths = [" tests" ]
49- log_file_level = " NOTSET"
50- log_file_format = " %(levelname)8s [%(asctime)s] %(message)s"
51- log_file_date_format = " %Y-%m-%d %H:%M:%S"
62+ [project .urls ]
63+ "HomePage" = " https://github.com/postgrespro/testgres_exts.pglab"
0 commit comments