-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (69 loc) · 1.57 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pg-bulk-ingest"
version = "0.0.0.dev0"
authors = [
{ name="Department for Business and Trade", email="sre@digital.trade.gov.uk" },
]
description = "A collection of Python utility functions for ingesting data into SQLAlchemy-defined PostgreSQL tables, automatically migrating them as needed, and minimising locking"
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"sqlalchemy>=1.4.24",
"pg-force-execute>=0.0.10",
"to-file-like-obj>=0.0.5",
]
[project.optional-dependencies]
dev = [
"psycopg>=3.1.4",
"psycopg2>=2.9.2",
"pytest>=7.2.1",
# Type checking
"mypy <1.5",
]
ci = [
"pytest",
"pytest-cov",
"coverage",
# Type checking
"mypy <1.5",
]
ci-psycopg2-sqlalchemy1 = [
"psycopg2==2.9.2",
"sqlalchemy==1.4.24",
"to-file-like-obj==0.0.5",
]
ci-psycopg2-sqlalchemy2 = [
"psycopg2==2.9.2",
"sqlalchemy==2.0.0",
"to-file-like-obj==0.0.5",
]
ci-psycopg3-sqlalchemy2 = [
"psycopg==3.1.4",
"sqlalchemy==2.0.0",
"to-file-like-obj==0.0.5",
]
[project.urls]
"Source" = "https://github.com/uktrade/pg-bulk-ingest"
[tool.hatch.build]
include = [
"pg_bulk_ingest"
]
[tool.hatch.envs.dev]
dependencies = [
"psycopg>=3.1.4",
"psycopg2>=2.9.2",
"pytest>=7.2.1",
# Type checking
"mypy <1.5",
"pytest",
]
[tool.mypy]
ignore_missing_imports = true