Skip to content

Commit dde4be1

Browse files
committed
1 parent 065d27f commit dde4be1

7 files changed

Lines changed: 44 additions & 22 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [2.5.1] - 2024-11-13
4+
5+
- Dependency fixes
6+
37
## [2.5.0] - 2024-11-07
48

59
- Updated URLR API version to 1.4

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# urlr@2.5.0
1+
# urlr@2.5.1
22

33
![PyPI - Version](https://img.shields.io/pypi/v/urlr) ![PyPI - Downloads](https://img.shields.io/pypi/dm/urlr) ![PyPI - License](https://img.shields.io/pypi/l/urlr)
44

55
This SDK is automatically generated with the [OpenAPI Generator](https://openapi-generator.tech) project.
66

77
- API version: 1.4
8-
- Package version: 2.5.0
8+
- Package version: 2.5.1
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

1111
For more information, please visit [https://urlr.me/en](https://urlr.me/en)

pyproject.toml

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "urlr"
3-
version = "2.5.0"
3+
version = "2.5.1"
44
description = "Python client for URLR"
55
authors = ["URLR <contact@urlr.me>"]
66
license = "MIT"
@@ -10,19 +10,20 @@ keywords = ["link shortener", "api", "sdk", "client"]
1010
include = ["urlr/py.typed"]
1111

1212
[tool.poetry.dependencies]
13-
python = "^3.7"
13+
python = "^3.8"
1414

15-
urllib3 = ">= 1.25.3"
16-
python-dateutil = ">=2.8.2"
17-
pydantic = ">=2"
18-
typing-extensions = ">=4.7.1"
15+
urllib3 = ">= 1.25.3 < 3.0.0"
16+
python-dateutil = ">= 2.8.2"
17+
pydantic = ">= 2"
18+
typing-extensions = ">= 4.7.1"
1919

2020
[tool.poetry.dev-dependencies]
21-
pytest = ">=7.2.1"
22-
tox = ">=3.9.0"
23-
flake8 = ">=4.0.0"
24-
types-python-dateutil = ">=2.8.19.14"
25-
mypy = "1.4.1"
21+
pytest = ">= 7.2.1"
22+
pytest-cov = ">= 2.8.1"
23+
tox = ">= 3.9.0"
24+
flake8 = ">= 4.0.0"
25+
types-python-dateutil = ">= 2.8.19.14"
26+
mypy = ">= 1.5"
2627

2728

2829
[build-system]
@@ -48,7 +49,7 @@ warn_unused_ignores = true
4849

4950
## Getting these passing should be easy
5051
strict_equality = true
51-
strict_concatenate = true
52+
extra_checks = true
5253

5354
## Strongly recommend enabling this one as soon as you can
5455
check_untyped_defs = true
@@ -68,4 +69,21 @@ disallow_any_generics = true
6869
#no_implicit_reexport = true
6970
#
7071
### This one can be tricky to get passing if you use a lot of untyped libraries
71-
#warn_return_any = true
72+
#warn_return_any = true
73+
74+
[[tool.mypy.overrides]]
75+
module = [
76+
"urlr.configuration",
77+
]
78+
warn_unused_ignores = true
79+
strict_equality = true
80+
extra_checks = true
81+
check_untyped_defs = true
82+
disallow_subclassing_any = true
83+
disallow_untyped_decorators = true
84+
disallow_any_generics = true
85+
disallow_untyped_calls = true
86+
disallow_incomplete_defs = true
87+
disallow_untyped_defs = true
88+
no_implicit_reexport = true
89+
warn_return_any = true

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "urlr"
25-
VERSION = "2.5.0"
26-
PYTHON_REQUIRES = ">=3.7"
25+
VERSION = "2.5.1"
26+
PYTHON_REQUIRES = ">= 3.8"
2727
REQUIRES = [
28-
"urllib3 >= 1.25.3, < 2.1.0",
29-
"python-dateutil",
28+
"urllib3 >= 1.25.3, < 3.0.0",
29+
"python-dateutil >= 2.8.2",
3030
"pydantic >= 2",
3131
"typing-extensions >= 4.7.1",
3232
]

urlr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "2.5.0"
18+
__version__ = "2.5.1"
1919

2020
# import apis into sdk package
2121
from urlr.api.access_tokens_api import AccessTokensApi

urlr/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __init__(
9191
self.default_headers[header_name] = header_value
9292
self.cookie = cookie
9393
# Set default User-Agent.
94-
self.user_agent = 'OpenAPI-Generator/2.5.0/python'
94+
self.user_agent = 'OpenAPI-Generator/2.5.1/python'
9595
self.client_side_validation = configuration.client_side_validation
9696

9797
def __enter__(self):

urlr/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def to_debug_report(self):
394394
"OS: {env}\n"\
395395
"Python Version: {pyversion}\n"\
396396
"Version of the API: 1.4\n"\
397-
"SDK Package Version: 2.5.0".\
397+
"SDK Package Version: 2.5.1".\
398398
format(env=sys.platform, pyversion=sys.version)
399399

400400
def get_host_settings(self):

0 commit comments

Comments
 (0)