diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 5f90187..9360732 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -1,6 +1,9 @@ name: Publish Python 🐍 distributions 📦 to TestPyPI -on: pull_request +on: + push: + branches: + - master jobs: build-n-publish: diff --git a/adminsortable2/__init__.py b/adminsortable2/__init__.py index 3f6fab6..8a81504 100644 --- a/adminsortable2/__init__.py +++ b/adminsortable2/__init__.py @@ -1 +1 @@ -__version__ = '1.0.3' +__version__ = '1.0.4' diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 44b9d1f..7c567e1 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -5,6 +5,12 @@ Release history =============== +1.0.4 +----- +* Fix `#294`_: issue in 1.0.3 where ``install_requires`` unintentionally dropped django 2.2 + +.. _#294: https://github.com/jrief/django-admin-sortable2/issues/294 + 1.0.3 ----- * Adding support for Django 4 and Python 3.10. @@ -34,6 +40,7 @@ Release history * Fix `#207`_: Last item not displayed in stacked- and tabular inline admins, if model doesn't have add permission. +.. _#207: https://github.com/jrief/django-admin-sortable2/issues/207 0.7.7 ----- diff --git a/setup.py b/setup.py index 1f21dfb..5a94c7a 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ def readfile(filename): platforms=['OS Independent'], classifiers=CLASSIFIERS, install_requires=[ - 'Django>=3.2,<4.1', + 'Django>=2.2,<4.1', ], packages=find_packages(exclude=['example', 'docs']), include_package_data=True,