Skip to content

Commit c723791

Browse files
committed
chore: convert poetry format to PEP 621
1 parent c280e77 commit c723791

File tree

2 files changed

+37
-29
lines changed

2 files changed

+37
-29
lines changed

poetry.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
[tool.poetry]
1+
[project]
22
name = "tagreader"
33
version = "6.0.4"
44
description = "Tagreader is a Python package for reading trend data from the OSIsoft PI and Aspen Infoplus.21 IMS systems."
5-
authors = ["Einar S. Idsø <eiids@equinor.com>", "Morten Dæhli Aslesen <masl@equinor.com"]
5+
authors = [
6+
{ name = "Einar S. Idsø", email = "eiids@equinor.com" },
7+
{ name = "Morten Dæhli Aslesen", email = "masl@equinor.com" }
8+
]
69
license = "MIT"
710
readme = "README.md"
8-
packages = [{include = "tagreader"}]
911
keywords=["Aspen InfoPlus.21", "OSIsoft PI"]
10-
homepage = "https://github.com/equinor/tagreader-python"
11-
repository = "https://github.com/equinor/tagreader-python"
12+
requires-python = ">=3.9.2,<4.0.0"
1213
classifiers=[
1314
"Development Status :: 5 - Production/Stable",
1415
"Intended Audience :: Developers",
@@ -26,23 +27,30 @@ classifiers=[
2627
"Topic :: Software Development :: Libraries :: Python Modules",
2728
"Topic :: Utilities",
2829
]
30+
dependencies = [
31+
"pandas>=1",
32+
"certifi>=2024.12.14,<2026.0.0",
33+
"requests>=2.32.5",
34+
"requests-kerberos>=0",
35+
"msal-bearer>=1.3.3",
36+
"diskcache>=5.6.1",
37+
"pycryptodome>=3.20.0",
38+
"requests-ntlm>=1.1,<=2.0",
39+
"platformdirs>=4.3.7",
40+
"urllib3>=2.5.0" # To avoid security issue https://www.cve.org/CVERecord?id=CVE-2025-50182
41+
]
2942

30-
[tool.poetry.dependencies]
31-
python = "^3.9.2"
32-
pandas = ">=1"
33-
certifi = ">=2024.12.14,<2026.0.0"
34-
requests = "^2.32.5"
35-
requests-kerberos = "^0"
36-
msal-bearer = "^1.3.3"
37-
diskcache = "^5.6.1"
38-
pycryptodome = "^3.20.0"
39-
requests-ntlm = ">=1.1,<=2.0"
40-
platformdirs = "^4.3.7"
41-
urllib3 = "^2.5.0" # To avoid security issue https://www.cve.org/CVERecord?id=CVE-2025-50182
43+
[tool.poetry.group.test.dependencies]
44+
pytest = ">=7,<9"
45+
# pytest-cov = ">=6.0.0"
4246

4347
[tool.poetry.group.dev.dependencies]
44-
pre-commit = "^3"
45-
pytest = ">=7,<9"
48+
# "black>=24.1.1",
49+
pre-commit = ">=3.0"
50+
51+
[project.urls]
52+
homepage = "https://github.com/equinor/tagreader-python"
53+
repository = "https://github.com/equinor/tagreader-python"
4654

4755
[build-system]
4856
requires = ["poetry-core"]

0 commit comments

Comments
 (0)