Skip to content

Commit 795f05c

Browse files
authored
Release 4.1 (#112)
* Django 4.2 support * Update release script * Update test release script * Bump version: 4.0.0 → 4.1.0
1 parent ea5ebab commit 795f05c

File tree

7 files changed

+29
-21
lines changed

7 files changed

+29
-21
lines changed

.github/workflows/publish-to-live-pypi.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,17 @@ jobs:
99
build-n-publish:
1010
name: Build and publish Python 🐍 distributions 📦 to pypi
1111
runs-on: ubuntu-latest
12+
environment:
13+
name: pypi
14+
url: https://pypi.org/p/django-classy-tags
15+
permissions:
16+
id-token: write
1217
steps:
1318
- uses: actions/checkout@v3
14-
- name: Set up Python 3.9
19+
- name: Set up Python 3.10
1520
uses: actions/setup-python@v4
1621
with:
17-
python-version: 3.9
22+
python-version: '3.10'
1823

1924
- name: Install pypa/build
2025
run: >-
@@ -33,7 +38,4 @@ jobs:
3338
3439
- name: Publish distribution 📦 to PyPI
3540
if: startsWith(github.ref, 'refs/tags')
36-
uses: pypa/gh-action-pypi-publish@master
37-
with:
38-
user: __token__
39-
password: ${{ secrets.PYPI_API_TOKEN }}
41+
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/publish-to-test-pypi.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,17 @@ jobs:
99
build-n-publish:
1010
name: Build and publish Python 🐍 distributions 📦 to TestPyPI
1111
runs-on: ubuntu-latest
12+
environment:
13+
name: test
14+
url: https://test.pypi.org/p/django-classy-tags
15+
permissions:
16+
id-token: write
1217
steps:
1318
- uses: actions/checkout@v3
14-
- name: Set up Python 3.9
19+
- name: Set up Python 3.10
1520
uses: actions/setup-python@v4
1621
with:
17-
python-version: 3.9
22+
python-version: '3.10'
1823

1924
- name: Install pypa/build
2025
run: >-
@@ -32,9 +37,7 @@ jobs:
3237
.
3338
3439
- name: Publish distribution 📦 to Test PyPI
35-
uses: pypa/gh-action-pypi-publish@master
40+
uses: pypa/gh-action-pypi-publish@release/v1
3641
with:
37-
user: __token__
38-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
39-
repository_url: https://test.pypi.org/legacy/
40-
skip_existing: true
42+
repository-url: https://test.pypi.org/legacy/
43+
skip-existing: true

CHANGELOG.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ Changelog
55
unreleased
66
==========
77

8-
4.0.0 2022-12-01
8+
4.1.0 2023-07-29
99
================
1010

11+
* Django 4.2 support
12+
1113

1214
4.0.0 2022-12-01
1315
================

classytags/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '4.0.0'
1+
__version__ = '4.1.0'

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
# built documents.
5151
#
5252
# The short X.Y version.
53-
version = '4.0.0'
53+
version = '4.1.0'
5454
# The full version, including alpha/beta/rc tags.
55-
release = '4.0.0'
55+
release = '4.1.0'
5656

5757
# The language for content autogenerated by Sphinx. Refer to documentation
5858
# for a list of supported languages.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 4.0.0
2+
current_version = 4.1.0
33
commit = True
44
tag = False
55

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@
1616
'License :: OSI Approved :: BSD License',
1717
'Operating System :: OS Independent',
1818
'Programming Language :: Python :: 3',
19-
'Programming Language :: Python :: 3.7',
2019
'Programming Language :: Python :: 3.8',
2120
'Programming Language :: Python :: 3.9',
2221
'Programming Language :: Python :: 3.10',
22+
'Programming Language :: Python :: 3.11',
2323
'Framework :: Django',
2424
'Framework :: Django :: 3.2',
2525
'Framework :: Django :: 4.0',
2626
'Framework :: Django :: 4.1',
27+
'Framework :: Django :: 4.2',
2728
'Topic :: Internet :: WWW/HTTP',
2829
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
2930
'Topic :: Software Development',
@@ -35,7 +36,7 @@
3536

3637
setup(
3738
name='django-classy-tags',
38-
version='4.0.0',
39+
version='4.1.0',
3940
author='Jonas Obrist',
4041
author_email='ojiidotch@gmail.com',
4142
maintainer='Django CMS Association and contributors',
@@ -46,7 +47,7 @@
4647
long_description=long_description,
4748
long_description_content_type='text/x-rst',
4849
packages=find_packages(exclude=['tests']),
49-
python_requires='>=3.7',
50+
python_requires='>=3.8',
5051
include_package_data=True,
5152
zip_safe=False,
5253
install_requires=REQUIREMENTS,

0 commit comments

Comments
 (0)