-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (83 loc) · 2.37 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
76
77
78
79
80
81
82
83
84
85
86
87
88
[tool.poetry]
name = "libsys-airflow"
version = "1.0.0"
description = "Airflow DAGS for migrating and managing ILS data into FOLIO along with other LibSys workflows"
authors = ["Jeremy Nelson <[email protected]>", "Joshua Greben <[email protected]>", "Shelley Doljack", "Laura Wrubel", "Michael J. Giarlo <[email protected]>"]
license = "Apache 2.0"
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
argparse-prompt = "^0.0.5"
jsonpath-ng = "^1.5.3"
numpy = "^1.22.3"
objectpath = "^0.6.1"
pandas = "^1.4.1"
pydantic = "^1.9.0"
pymarc = "^5.0.0"
requests = "^2.31.0"
pyyaml = "^6.0"
python-dotenv = "^1.0.0"
alembic = "^1.10.4"
psycopg2-binary = "^2.9.6"
python-magic = "^0.4.27"
honeybadger = "^0.15.2"
# Needed according to HB docs.
blinker = "^1.6.2"
folio-migration-tools = "^1.8.1"
werkzeug = "2.3.8"
connexion = "2.14.1"
# Pinning until Airflow updates this dependency
pendulum = "2.1.2"
# Pinning until ticket https://github.com/apache/airflow/issues/36897
flask-session = "<0.6.0"
markdown = "^3.6"
cattrs = "^23.2.3"
apache-airflow = {extras = ["amazon"], version = "^2.8.3"}
s3path = "^0.5.2"
boto3 = "^1.34.77"
xmlsec = "^1.3.14"
bookops-worldcat = "^1.0.1"
# Pinning wtforms because version 3.2.1 is breaking Flask AppBuilder
# should remove when we upgrade Airflow
wtforms = "3.0.1"
[tool.poetry.group.test.dependencies]
black = "~24.3.0"
coveralls = "~3.3.1"
coverage = "~6.5.0"
flake8 = "^6.0.0"
pytest = "^7.1.1"
pytest-cov = "^4.0.0"
pytest-mock = "^3.7.0"
# these are needed for running tests outside of the airflow docker container
# the airflow version here should be kept in sync with the docker image
apache-airflow = "2.8.3"
apache-airflow-providers-postgres = "5.13.0"
apache-airflow-providers-sftp = "^4.2.4"
requests-mock = "^1.10.0"
pytest-mock-resources = "^2.6.12"
beautifulsoup4 = "^4.12.2"
mypy = "^1.9.0"
types-requests = "^2.31.0.1"
types-markdown = "^3.4.2.9"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
exclude = '''
/(
vendor_loads_migration
| digital_bookplates_migration
| libsys_airflow/plugins/folio/encumbrances
)/
'''
skip-string-normalization = true
color = true
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
explicit_package_bases = true
warn_unreachable = true
pretty = true
show_error_context = true