Skip to content

Commit 850918f

Browse files
Regenerate package.
1 parent dd7533d commit 850918f

File tree

2 files changed

+40
-19
lines changed

2 files changed

+40
-19
lines changed

pyproject.toml

Lines changed: 36 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
[tool.poetry]
1+
[project]
22
name = "opcua_webapi"
3-
version = "1.504.1"
3+
version = "15.6.0"
44
description = "OPC UA Web API"
5-
authors = ["OpenAPI Generator Community <office@opcfoundation.org>"]
6-
license = "OPC Source Deliverable Agreement of Use"
5+
authors = [
6+
{name = "OpenAPI Generator Community",email = "office@opcfoundation.org"},
7+
]
78
readme = "README.md"
8-
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
99
keywords = ["OpenAPI", "OpenAPI-Generator", "OPC UA Web API"]
10-
include = ["opcua_webapi/py.typed"]
10+
requires-python = ">=3.9"
1111

12-
[tool.poetry.dependencies]
13-
python = "^3.8"
12+
dependencies = [
13+
"urllib3 (>=2.1.0,<3.0.0)",
14+
"python-dateutil (>=2.8.2)",
15+
"pydantic (>=2)",
16+
"typing-extensions (>=4.7.1)"
17+
]
1418

15-
urllib3 = ">= 1.25.3 < 3.0.0"
16-
python-dateutil = ">= 2.8.2"
17-
pydantic = ">= 2"
18-
typing-extensions = ">= 4.7.1"
19+
[project.urls]
20+
Repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
1921

20-
[tool.poetry.dev-dependencies]
22+
[tool.poetry]
23+
requires-poetry = ">=2.0"
24+
25+
[tool.poetry.group.dev.dependencies]
2126
pytest = ">= 7.2.1"
2227
pytest-cov = ">= 2.8.1"
2328
tox = ">= 3.9.0"
@@ -49,7 +54,7 @@ warn_unused_ignores = true
4954

5055
## Getting these passing should be easy
5156
strict_equality = true
52-
strict_concatenate = true
57+
extra_checks = true
5358

5459
## Strongly recommend enabling this one as soon as you can
5560
check_untyped_defs = true
@@ -70,3 +75,20 @@ disallow_any_generics = true
7075
#
7176
### This one can be tricky to get passing if you use a lot of untyped libraries
7277
#warn_return_any = true
78+
79+
[[tool.mypy.overrides]]
80+
module = [
81+
"opcua_webapi.configuration",
82+
]
83+
warn_unused_ignores = true
84+
strict_equality = true
85+
extra_checks = true
86+
check_untyped_defs = true
87+
disallow_subclassing_any = true
88+
disallow_untyped_decorators = true
89+
disallow_any_generics = true
90+
disallow_untyped_calls = true
91+
disallow_incomplete_defs = true
92+
disallow_untyped_defs = true
93+
no_implicit_reexport = true
94+
warn_return_any = true

setup.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "opcua-webapi"
25-
VERSION = "1.504.1"
26-
PYTHON_REQUIRES = ">= 3.8"
25+
VERSION = "15.6.0"
26+
PYTHON_REQUIRES = ">= 3.9"
2727
REQUIRES = [
28-
"urllib3 >= 1.25.3, < 3.0.0",
28+
"urllib3 >= 2.1.0, < 3.0.0",
2929
"python-dateutil >= 2.8.2",
3030
"pydantic >= 2",
3131
"typing-extensions >= 4.7.1",
@@ -42,10 +42,9 @@
4242
install_requires=REQUIRES,
4343
packages=find_packages(exclude=["test", "tests"]),
4444
include_package_data=True,
45-
license="OPC Source Deliverable Agreement of Use",
4645
long_description_content_type='text/markdown',
4746
long_description="""\
4847
Provides simple HTTPS based access to an OPC UA server.
4948
""", # noqa: E501
5049
package_data={"opcua_webapi": ["py.typed"]},
51-
)
50+
)

0 commit comments

Comments
 (0)