From 3e667095ddca8dc8629aa291f64a05e37ab02c61 Mon Sep 17 00:00:00 2001 From: Roberto Prevato Date: Thu, 27 Mar 2025 10:11:15 +0100 Subject: [PATCH 1/4] Prepare for 0.0.4 --- .github/workflows/build.yml | 2 +- CHANGELOG.md | 9 +++++++++ dev-requirements.txt | 14 +++++++------- pyproject.toml | 7 ++++--- 4 files changed, 21 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed6e305..1aa2579 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] + python-version: [3.9, "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 21b1b95..0120371 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,14 +5,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.0.4] - 2025-03-27 + +- Upgrade versions of dependencies. +- Handle setuptools warning: _SetuptoolsDeprecationWarning: License classifiers are deprecated_. +- Add Python 3.13 to the build matrix, remove Python 3.8. + ## [0.0.3] - 2023-12-29 :christmas_tree: + - Upgrades the library to use `pyproject.toml`. - Updates the GitHub Workflow. - Updates the LICENSE contact. ## [0.0.2] - 2021-11-28 :sheep: + - Unpins the `SQLAlchemy` version from requirements ## [0.0.1] - 2021-05-22 :four_leaf_clover: + - First working implementation, with integration offering injection of db connections and ORM sessions provided by SQLAlchemy diff --git a/dev-requirements.txt b/dev-requirements.txt index 6687ccb..4e19218 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -2,13 +2,13 @@ aiosqlite==0.19.0 alembic==1.13.1 attrs==23.1.0 black==23.12.1 -blacksheep==2.0.3 +blacksheep==2.1.0 certifi==2023.11.17 -charset-normalizer==3.1.0 +charset-normalizer==3.4.1 click==8.1.7 coverage==7.4.0 essentials==1.1.5 -essentials-openapi==1.0.9 +essentials-openapi==1.1.1 exceptiongroup==1.2.0 flake8==6.1.0 greenlet==3.0.3 @@ -17,10 +17,10 @@ h11==0.14.0 httptools==0.6.1 iniconfig==2.0.0 isort==5.13.2 -itsdangerous==2.1.2 +itsdangerous==2.2.0 Jinja2==3.1.2 Mako==1.3.0 -MarkupSafe==2.1.3 +MarkupSafe==3.0.2 mccabe==0.7.0 mypy-extensions==1.0.0 packaging==23.2 @@ -33,11 +33,11 @@ pyparsing==3.1.1 pytest==7.4.3 pytest-asyncio==0.23.2 pytest-cov==4.1.0 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 PyYAML==6.0.1 rodi==2.0.6 six==1.16.0 -SQLAlchemy==2.0.24 +SQLAlchemy==2.0.39 tomli==2.0.1 typing_extensions==4.9.0 uvicorn==0.25.0 diff --git a/pyproject.toml b/pyproject.toml index 9ecfa04..2028854 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,25 +4,26 @@ build-backend = "hatchling.build" [project] name = "blacksheep-sqlalchemy" -version = "0.0.3" +version = "0.0.4" authors = [{ name = "Roberto Prevato", email = "roberto.prevato@gmail.com" }] description = "Extension for BlackSheep to use SQLAlchemy." +license = { file = "LICENSE" } readme = "README.md" requires-python = ">=3.7" classifiers = [ "Development Status :: 5 - Production/Stable", - "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "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", "Operating System :: OS Independent", ] keywords = ["blacksheep", "sqlalchemy", "orm", "database"] -dependencies = ["blacksheep~=2.0.3", "SQLAlchemy~=2.0.24"] +dependencies = ["blacksheep", "SQLAlchemy~=2.0.24"] [tool.hatch.build.targets.wheel] packages = ["blacksheepsqlalchemy"] From b0c899cd5612b7f39e42b31423c980945f8d41a5 Mon Sep 17 00:00:00 2001 From: Roberto Prevato Date: Thu, 27 Mar 2025 10:17:55 +0100 Subject: [PATCH 2/4] Update dev-requirements.txt --- dev-requirements.txt | 52 ++++++++------------------------------------ 1 file changed, 9 insertions(+), 43 deletions(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 4e19218..e7beee9 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,43 +1,9 @@ -aiosqlite==0.19.0 -alembic==1.13.1 -attrs==23.1.0 -black==23.12.1 -blacksheep==2.1.0 -certifi==2023.11.17 -charset-normalizer==3.4.1 -click==8.1.7 -coverage==7.4.0 -essentials==1.1.5 -essentials-openapi==1.1.1 -exceptiongroup==1.2.0 -flake8==6.1.0 -greenlet==3.0.3 -guardpost==1.0.2 -h11==0.14.0 -httptools==0.6.1 -iniconfig==2.0.0 -isort==5.13.2 -itsdangerous==2.2.0 -Jinja2==3.1.2 -Mako==1.3.0 -MarkupSafe==3.0.2 -mccabe==0.7.0 -mypy-extensions==1.0.0 -packaging==23.2 -pathspec==0.12.1 -platformdirs==4.1.0 -pluggy==1.3.0 -pycodestyle==2.11.1 -pyflakes==3.1.0 -pyparsing==3.1.1 -pytest==7.4.3 -pytest-asyncio==0.23.2 -pytest-cov==4.1.0 -python-dateutil==2.9.0.post0 -PyYAML==6.0.1 -rodi==2.0.6 -six==1.16.0 -SQLAlchemy==2.0.39 -tomli==2.0.1 -typing_extensions==4.9.0 -uvicorn==0.25.0 +blacksheep +SQLAlchemy +pytest +pytest-asyncio +flake8 +black +isort +uvicorn +aiosqlite From 9bffe062078fddfdde204e71887382a2eabc95f0 Mon Sep 17 00:00:00 2001 From: Roberto Prevato Date: Thu, 27 Mar 2025 10:19:04 +0100 Subject: [PATCH 3/4] Update dev-requirements.txt --- dev-requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-requirements.txt b/dev-requirements.txt index e7beee9..4c1ec6e 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -7,3 +7,4 @@ black isort uvicorn aiosqlite +alembic From f2a081a20bdc84dd288054d353b2fd06e74c4cb1 Mon Sep 17 00:00:00 2001 From: Roberto Prevato Date: Thu, 27 Mar 2025 10:20:01 +0100 Subject: [PATCH 4/4] Update dev-requirements.txt --- dev-requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-requirements.txt b/dev-requirements.txt index 4c1ec6e..49a4203 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -2,6 +2,7 @@ blacksheep SQLAlchemy pytest pytest-asyncio +pytest-cov flake8 black isort