From 802657547d799cbd3b942273fc35688ccd33652c Mon Sep 17 00:00:00 2001 From: Muhammad Labeeb Date: Mon, 24 Mar 2025 19:58:57 +0500 Subject: [PATCH] v20.0.0 --- CHANGELOG.md | 10 ++++++++++ .../20250127_130934_mlabeeb03_pyproject_toml.md | 2 -- .../20250312_113706_dawoud.sheraz_fix_hatch_build.md | 1 - pyproject.toml | 8 ++++---- tutorcredentials/__about__.py | 2 +- .../templates/credentials/build/credentials/Dockerfile | 4 ++-- 6 files changed, 17 insertions(+), 10 deletions(-) delete mode 100644 changelog.d/20250127_130934_mlabeeb03_pyproject_toml.md delete mode 100644 changelog.d/20250312_113706_dawoud.sheraz_fix_hatch_build.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 6406e10..556aaba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,16 @@ instructions, because git commits are used to generate release notes: + +## v20.0.0 (2025-06-05) + +- [Improvement] Migrate packaging from setup.py/setuptools to pyproject.toml/hatch. (by @mlabeeb03) + - For more details view tutor core PR: https://github.com/overhangio/tutor/pull/1163 + +- [Improvement] Add hatch_build.py in sdist target to fix the installation issues (by @dawoudsheraz) + +- 💥[Feature] Upgrade to Teak. (by @mlabeeb03) + ## v19.0.0 (2024-10-23) diff --git a/changelog.d/20250127_130934_mlabeeb03_pyproject_toml.md b/changelog.d/20250127_130934_mlabeeb03_pyproject_toml.md deleted file mode 100644 index 70478ae..0000000 --- a/changelog.d/20250127_130934_mlabeeb03_pyproject_toml.md +++ /dev/null @@ -1,2 +0,0 @@ -- [Improvement] Migrate packaging from setup.py/setuptools to pyproject.toml/hatch. (by @mlabeeb03) - - For more details view tutor core PR: https://github.com/overhangio/tutor/pull/1163 diff --git a/changelog.d/20250312_113706_dawoud.sheraz_fix_hatch_build.md b/changelog.d/20250312_113706_dawoud.sheraz_fix_hatch_build.md deleted file mode 100644 index fb4c929..0000000 --- a/changelog.d/20250312_113706_dawoud.sheraz_fix_hatch_build.md +++ /dev/null @@ -1 +0,0 @@ -- [Improvement] Add hatch_build.py in sdist target to fix the installation issues (by @dawoudsheraz) diff --git a/pyproject.toml b/pyproject.toml index d90e44a..b10ffeb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,16 +27,16 @@ classifiers = [ "Programming Language :: Python :: 3.12", ] dependencies = [ - "tutor>=19.0.0,<20.0.0", - "tutor-discovery>=19.0.0,<20.0.0", - "tutor-mfe>=19.0.0,<20.0.0" + "tutor>=20.0.0,<21.0.0", + "tutor-discovery>=20.0.0,<21.0.0", + "tutor-mfe>=20.0.0,<21.0.0" ] # these fields will be set by hatch_build.py dynamic = ["version"] [project.optional-dependencies] dev = [ - "tutor[dev]>=19.0.0,<20.0.0", + "tutor[dev]>=20.0.0,<21.0.0", "pylint", "black" ] diff --git a/tutorcredentials/__about__.py b/tutorcredentials/__about__.py index 0122a6f..9c9eb91 100644 --- a/tutorcredentials/__about__.py +++ b/tutorcredentials/__about__.py @@ -1 +1 @@ -__version__ = "19.0.0" +__version__ = "20.0.0" diff --git a/tutorcredentials/templates/credentials/build/credentials/Dockerfile b/tutorcredentials/templates/credentials/build/credentials/Dockerfile index 10338c1..5cbde20 100644 --- a/tutorcredentials/templates/credentials/build/credentials/Dockerfile +++ b/tutorcredentials/templates/credentials/build/credentials/Dockerfile @@ -70,7 +70,7 @@ RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install \ # https://pypi.org/project/setuptools/ # https://pypi.org/project/pip/ # https://pypi.org/project/wheel/ - setuptools==75.1.0 pip==24.2 wheel==0.44.0 + setuptools==77.0.3 pip==25.0.1 wheel==0.45.1 # Install base requirements RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install -r requirements/production.txt @@ -80,7 +80,7 @@ RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install \ # Use redis as a django cache https://pypi.org/project/django-redis/ django-redis==5.4.0 \ # uwsgi server https://pypi.org/project/uWSGI/ - uwsgi==2.0.27 + uwsgi==2.0.28 {{ patch("credentials-dockerfile-post-python-requirements") }}