diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..895bf0e --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "2.0.0" +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ce1df6..6696b3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## [2.0.0](https://github.com/ShipEngine/shipengine-python/compare/v1.0.2...v2.0.0) (2025-12-16) + +### ⚠ BREAKING CHANGES + +* **Python Support**: Dropped support for Python 3.7, 3.8, and 3.9. Minimum required Python version is now 3.10. + +### Features + +* Add support for Python 3.10, 3.11, 3.12, and 3.13 ([7559751](https://github.com/ShipEngine/shipengine-python/commit/75597510aa212c086077a03d7513835569be820a)) +* Update CI/CD workflows to use current GitHub Actions versions +* Update package dependencies for Python 3.10+ compatibility + +### Dependencies + +* Update aiohttp from ^3.7.4 to ^3.9.0 +* Update pytest from >=5.0 to ^7.0.0 +* Update black from ^20.8b1 to ^22.0.0 +* Update flake8 from ^3.8.4 to ^6.0.0 + ## [1.0.0](https://www.github.com/ShipEngine/shipengine-python/compare/v1.0.0...v1.0.0) (2021-08-11) ### Miscellaneous Chores diff --git a/pyproject.toml b/pyproject.toml index 1534ad4..59d75ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "shipengine" -version = "1.0.2" +version = "2.0.0" description = "The official Python library for ShipEngine API." readme = "README.md" authors = ["ShipEngine "] @@ -14,9 +14,10 @@ classifiers = [ "Natural Language :: English", "Intended Audience :: Developers", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries :: Python Modules" ] @@ -32,8 +33,8 @@ bump = true files = ["*.py", "*/__init__.py", "*/__version__.py", "*/version.py"] [tool.poetry.dependencies] -python = "^3.7" -aiohttp = "^3.7.4" +python = "^3.10" +aiohttp = "^3.9.0" requests = "^2.25.1" python-dotenv = "^0.15.0" dataclasses-json = "^0.5.3" @@ -41,11 +42,11 @@ fuuid = "^0.1.0" poetry-dynamic-versioning = "^0.13.0" [tool.poetry.dev-dependencies] -pytest = ">=5.0" +pytest = "^7.0.0" pytest-cov = "^2.11.1" pytest-mock = "^3.6.1" -black = "^20.8b1" -flake8 = "^3.8.4" +black = "^22.0.0" +flake8 = "^6.0.0" Sphinx = "^3.5.2" tox = "^3.23.0" coverage = "^5.5" @@ -57,7 +58,7 @@ responses = "^0.13.3" [tool.black] line-length = 100 -target-verstion = ["py37"] +target-version = ["py310"] safe = true [tool.isort] diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..e8ffd27 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,11 @@ +{ + "packages": { + ".": { + "release-type": "python", + "package-name": "shipengine", + "changelog-path": "CHANGELOG.md", + "bump-minor-pre-major": false, + "bump-patch-for-minor-pre-major": false + } + } +}