From e3713a393512a2153629c1d428f844f34c046b6a Mon Sep 17 00:00:00 2001 From: Eduardo Aguad Date: Sat, 6 Jun 2026 21:42:13 -0400 Subject: [PATCH] Deprecate this repository: Masonite Debugbar continues at masonitedev/debugbar Masonite Debugbar development continues at https://github.com/masonitedev/debugbar as part of Masonite 5. This repository covers masonite-debugbar <= 1.0.1 and will receive no further updates. - README: deprecation banner (also the PyPI project page), in memory of Joe Mancuso - debugbar/__init__.py: emit a FutureWarning on import - setup.py: version 1.0.1.post1, Development Status :: 7 - Inactive, and fix the malformed 'jinja2>=3.0<3.1' pin (missing comma) that makes modern setuptools refuse to build the package at all - pythonpublish.yml: current checkout/setup-python actions, Python 3.10, build+twine only --- .github/workflows/pythonpublish.yml | 8 +++----- README.md | 11 +++++++++++ setup.py | 6 +++--- src/debugbar/__init__.py | 9 +++++++++ 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 6c0e349..cafae3d 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -8,16 +8,14 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: - python-version: '3.7' + python-version: '3.10' - name: Install dependencies run: | pip install setuptools wheel twine - make init - make test - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} diff --git a/README.md b/README.md index 2707f4b..4b8684f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ +# ⚠️ This repository is no longer maintained + +> **Masonite Debugbar development continues at [masonitedev/debugbar](https://github.com/masonitedev/debugbar)** as part of Masonite 5 (a new PyPI package name is coming soon). +> This repository covers `masonite-debugbar` ≤ 1.0.1, which will receive **no further updates** (including security fixes). +> +> - 📖 Masonite documentation: +> +> ❤️ In memory of [Joseph "Joe" Mancuso](https://github.com/josephmancuso), creator of Masonite. + +--- + # Masonite Debugbar A Masonite Python Debugging Tool diff --git a/setup.py b/setup.py index c14658d..4904881 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # https://packaging.python.org/en/latest/single_source_version.html - version='1.0.1', + version='1.0.1.post1', package_dir={'': 'src'}, description='The Official Masonite Debugbar', @@ -37,7 +37,7 @@ # https://packaging.python.org/en/latest/requirements.html install_requires=[ 'tabulate', - "jinja2>=3.0<3.1" + "jinja2>=3.0,<4" ], # See https://pypi.python.org/pypi?%3Aaction=list_classifiers @@ -46,7 +46,7 @@ # 3 - Alpha # 4 - Beta # 5 - Production/Stable - 'Development Status :: 5 - Production/Stable', + 'Development Status :: 7 - Inactive', # Indicate who your project is intended for 'Intended Audience :: Developers', diff --git a/src/debugbar/__init__.py b/src/debugbar/__init__.py index e69de29..4140d8e 100644 --- a/src/debugbar/__init__.py +++ b/src/debugbar/__init__.py @@ -0,0 +1,9 @@ +import warnings + +warnings.warn( + "The 'masonite-debugbar' package is unmaintained and will receive no " + "further updates. Masonite Debugbar development continues at " + "https://github.com/masonitedev/debugbar as part of Masonite 5.", + FutureWarning, + stacklevel=2, +)