From 38a90ed12c9f2c6466b8993ed4e2ca5bc8f75b00 Mon Sep 17 00:00:00 2001 From: AlestackOverglow Date: Thu, 27 Feb 2025 13:04:08 +0300 Subject: [PATCH 1/2] chore: update dependencies and add .gitignore - Update all dependencies to latest stable versions - Add .gitignore file with common Python exclusions - Update urllib3 to 2.x - Update pytest and related packages --- .gitignore | 40 ++++++++++++++++++++++++++++++++++++++++ requirements.txt | 12 ++++++------ setup.py | 12 ++++++------ test-requirements.txt | 6 +++--- 4 files changed, 55 insertions(+), 15 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3958f87 --- /dev/null +++ b/.gitignore @@ -0,0 +1,40 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +dist/ +build/ +*.egg-info/ +*.egg + +# Virtual environments +venv/ +env/ +.env/ +.venv/ + +# IDE specific files +.idea/ +.vscode/ +*.swp +*.swo + +# Testing +.coverage +.pytest_cache/ +htmlcov/ + +# Logs +*.log + +# Local development settings +.env +.env.local + +# Documentation +docs/_build/ \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 3cb6612..14827d9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -certifi >= 14.5.14 -frozendict ~= 2.3.4 -python-dateutil ~= 2.7.0 -setuptools >= 21.0.0 -typing_extensions ~= 4.3.0 -urllib3 ~= 1.26.7 +certifi>=2024.2.2 +frozendict>=2.4.0 +python-dateutil>=2.8.2 +setuptools>=69.1.0 +typing_extensions>=4.9.0 +urllib3>=2.2.1 diff --git a/setup.py b/setup.py index 3b33674..4c8050d 100644 --- a/setup.py +++ b/setup.py @@ -21,12 +21,12 @@ # http://pypi.python.org/pypi/setuptools REQUIRES = [ - "certifi >= 14.5.14", - "frozendict ~= 2.3.4", - "python-dateutil ~= 2.7.0", - "setuptools >= 21.0.0", - "typing_extensions ~= 4.3.0", - "urllib3 ~= 1.26.7", + "certifi>=2024.2.2", + "frozendict>=2.4.0", + "python-dateutil>=2.8.2", + "setuptools>=69.1.0", + "typing_extensions>=4.9.0", + "urllib3>=2.2.1", ] setup( diff --git a/test-requirements.txt b/test-requirements.txt index 2d88b03..02cc6e3 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,3 @@ -pytest~=4.6.7 # needed for python 3.4 -pytest-cov>=2.8.1 -pytest-randomly==1.2.3 # needed for python 3.4 +pytest>=8.0.0 +pytest-cov>=4.1.0 +pytest-randomly>=3.15.0 From 280191ae2e0eaf3ff9b839fb13f96e8c42f3b6df Mon Sep 17 00:00:00 2001 From: AlestackOverglow Date: Thu, 27 Feb 2025 13:15:42 +0300 Subject: [PATCH 2/2] chore: update dependencies to latest versions - Update python-dateutil to 2.9.0.post0 - Update setuptools to 69.2.0 - Update urllib3 to 2.3.1 - Update pytest to 8.0.2 --- requirements.txt | 6 +++--- setup.py | 6 +++--- test-requirements.txt | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index 14827d9..91c5990 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ certifi>=2024.2.2 frozendict>=2.4.0 -python-dateutil>=2.8.2 -setuptools>=69.1.0 +python-dateutil>=2.9.0.post0 +setuptools>=69.2.0 typing_extensions>=4.9.0 -urllib3>=2.2.1 +urllib3>=2.3.1 diff --git a/setup.py b/setup.py index 4c8050d..de17bef 100644 --- a/setup.py +++ b/setup.py @@ -23,10 +23,10 @@ REQUIRES = [ "certifi>=2024.2.2", "frozendict>=2.4.0", - "python-dateutil>=2.8.2", - "setuptools>=69.1.0", + "python-dateutil>=2.9.0.post0", + "setuptools>=69.2.0", "typing_extensions>=4.9.0", - "urllib3>=2.2.1", + "urllib3>=2.3.1", ] setup( diff --git a/test-requirements.txt b/test-requirements.txt index 02cc6e3..81dd5d8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,3 @@ -pytest>=8.0.0 +pytest>=8.0.2 pytest-cov>=4.1.0 pytest-randomly>=3.15.0