Skip to content

Commit a53e696

Browse files
committed
Release 2.4.0 version
1 parent 964ef8d commit a53e696

File tree

10 files changed

+75
-54
lines changed

10 files changed

+75
-54
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
python-version: '3.x'
1616
cache: pip
1717
cache-dependency-path: requirements*/*.txt
18-
- run: pip install setuptools wheel
18+
- run: pip install setuptools wheel build
1919
# Use the commit date instead of the current date during the build.
2020
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
21-
- run: python setup.py sdist bdist_wheel
21+
- run: python -m build
2222
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
2323
with:
2424
path: ./dist

CHANGES.rst

+11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
Changelog
22
=========
33

4+
2.4.0
5+
-----
6+
7+
Release date: 2024/4/7
8+
9+
- Test against Python 3.12.
10+
- Replaced deprecated color "muted" with "secondary" (`#340 <https://github.com/helloflask/bootstrap-flask/pull/340>`__).
11+
- Adding ``body_classes`` parameter to ``render_table`` (`#350 <https://github.com/helloflask/bootstrap-flask/pull/350>`__).
12+
- Migrate setup.py to pyproject.toml.
13+
14+
415
2.3.3
516
-----
617

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[project]
22
name = "Bootstrap-Flask"
3+
version = "2.4.0"
34
description = "Bootstrap 4 & 5 helper for your Flask projects."
45
readme = "README.md"
56
license = { text = "MIT" }
@@ -22,7 +23,6 @@ classifiers = [
2223
'Topic :: Software Development :: Libraries :: Python Modules',
2324
]
2425
dependencies = ["Flask", "WTForms"]
25-
version = "2.3.3"
2626

2727
[project.urls]
2828
Documentation = "https://bootstrap-flask.readthedocs.io/en/stable/"
@@ -33,7 +33,7 @@ Funding = "https://opencollective.com/bootstrap-flask"
3333
Discussions = "https://github.com/helloflask/bootstrap-flask/discussions/"
3434

3535
[build-system]
36-
requires = ["setuptools"]
36+
requires = ["setuptools>=61.0"]
3737
build-backend = "setuptools.build_meta"
3838

3939
[tool.pytest.ini_options]

requirements/build.in

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
wheel
2+
build

requirements/build.txt

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1+
# SHA1:574f214f412321e33a09f6d788b9561e2281c879
12
#
2-
# This file is autogenerated by pip-compile with python 3.10
3+
# This file is autogenerated by pip-compile-multi
34
# To update, run:
45
#
5-
# pip-compile requirements/build.in
6+
# pip-compile-multi
67
#
7-
wheel==0.42.0
8+
build==1.2.1
9+
# via -r requirements/build.in
10+
packaging==24.0
11+
# via build
12+
pyproject-hooks==1.0.0
13+
# via build
14+
tomli==2.0.1
15+
# via build
16+
wheel==0.43.0
817
# via -r requirements/build.in

requirements/dev.txt

+12-10
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,41 @@
88
-r docs.txt
99
-r style.txt
1010
-r tests.txt
11-
build==1.0.3
11+
build==1.2.1
1212
# via pip-tools
13-
cachetools==5.3.1
13+
cachetools==5.3.3
1414
# via tox
1515
chardet==5.2.0
1616
# via tox
1717
colorama==0.4.6
1818
# via tox
19-
distlib==0.3.7
19+
distlib==0.3.8
2020
# via virtualenv
21-
filelock==3.12.4
21+
filelock==3.13.3
2222
# via
2323
# tox
2424
# virtualenv
2525
pip-compile-multi==2.6.3
2626
# via -r requirements/dev.in
27-
pip-tools==7.3.0
27+
pip-tools==7.4.1
2828
# via pip-compile-multi
29-
platformdirs==3.11.0
29+
platformdirs==4.2.0
3030
# via
3131
# tox
3232
# virtualenv
3333
pyproject-api==1.6.1
3434
# via tox
3535
pyproject-hooks==1.0.0
36-
# via build
36+
# via
37+
# build
38+
# pip-tools
3739
toposort==1.10
3840
# via pip-compile-multi
39-
tox==4.11.3
41+
tox==4.14.2
4042
# via -r requirements/dev.in
41-
virtualenv==20.24.5
43+
virtualenv==20.25.1
4244
# via tox
43-
wheel==0.41.2
45+
wheel==0.43.0
4446
# via pip-tools
4547

4648
# The following packages are considered to be unsafe in a requirements file:

requirements/docs.txt

+15-20
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,31 @@
55
#
66
# pip-compile-multi
77
#
8-
alabaster==0.7.13
8+
alabaster==0.7.16
99
# via sphinx
10-
babel==2.13.0
10+
babel==2.14.0
1111
# via sphinx
12-
certifi==2023.7.22
12+
certifi==2024.2.2
1313
# via requests
14-
charset-normalizer==3.3.0
14+
charset-normalizer==3.3.2
1515
# via requests
1616
docutils==0.20.1
1717
# via sphinx
18-
idna==3.4
18+
idna==3.6
1919
# via requests
2020
imagesize==1.4.1
2121
# via sphinx
22-
jinja2==3.1.2
22+
jinja2==3.1.3
2323
# via sphinx
24-
markupsafe==2.1.3
24+
markupsafe==2.1.5
2525
# via jinja2
26-
packaging==23.2
26+
packaging==24.0
2727
# via
2828
# pallets-sphinx-themes
2929
# sphinx
3030
pallets-sphinx-themes==2.1.1
3131
# via -r requirements/docs.in
32-
pygments==2.16.1
32+
pygments==2.17.2
3333
# via sphinx
3434
requests==2.31.0
3535
# via sphinx
@@ -39,25 +39,20 @@ sphinx==7.2.6
3939
# via
4040
# -r requirements/docs.in
4141
# pallets-sphinx-themes
42-
# sphinxcontrib-applehelp
43-
# sphinxcontrib-devhelp
44-
# sphinxcontrib-htmlhelp
4542
# sphinxcontrib-log-cabinet
46-
# sphinxcontrib-qthelp
47-
# sphinxcontrib-serializinghtml
48-
sphinxcontrib-applehelp==1.0.7
43+
sphinxcontrib-applehelp==1.0.8
4944
# via sphinx
50-
sphinxcontrib-devhelp==1.0.5
45+
sphinxcontrib-devhelp==1.0.6
5146
# via sphinx
52-
sphinxcontrib-htmlhelp==2.0.4
47+
sphinxcontrib-htmlhelp==2.0.5
5348
# via sphinx
5449
sphinxcontrib-jsmath==1.0.1
5550
# via sphinx
5651
sphinxcontrib-log-cabinet==1.0.1
5752
# via -r requirements/docs.in
58-
sphinxcontrib-qthelp==1.0.6
53+
sphinxcontrib-qthelp==1.0.7
5954
# via sphinx
60-
sphinxcontrib-serializinghtml==1.1.9
55+
sphinxcontrib-serializinghtml==1.1.10
6156
# via sphinx
62-
urllib3==2.0.6
57+
urllib3==2.2.1
6358
# via requests

requirements/style.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
#
66
# pip-compile-multi
77
#
8-
flake8==6.1.0
8+
flake8==7.0.0
99
# via -r requirements/style.in
1010
mccabe==0.7.0
1111
# via flake8
12-
pycodestyle==2.11.0
12+
pycodestyle==2.11.1
1313
# via flake8
14-
pyflakes==3.1.0
14+
pyflakes==3.2.0
1515
# via flake8

requirements/tests.txt

+16-14
Original file line numberDiff line numberDiff line change
@@ -5,54 +5,56 @@
55
#
66
# pip-compile-multi
77
#
8-
blinker==1.6.3
8+
blinker==1.7.0
99
# via flask
1010
click==8.1.7
1111
# via flask
12-
coverage[toml]==7.3.2
12+
coverage[toml]==7.4.4
1313
# via pytest-cov
14-
exceptiongroup==1.1.3
14+
exceptiongroup==1.2.0
1515
# via pytest
16-
flask==3.0.0
16+
flask==3.0.2
1717
# via
1818
# flask-sqlalchemy
1919
# flask-wtf
2020
flask-sqlalchemy==3.1.1
2121
# via -r requirements/tests.in
2222
flask-wtf==1.2.1
2323
# via -r requirements/tests.in
24+
greenlet==3.0.3
25+
# via sqlalchemy
2426
iniconfig==2.0.0
2527
# via pytest
2628
itsdangerous==2.1.2
2729
# via
2830
# flask
2931
# flask-wtf
30-
jinja2==3.1.2
32+
jinja2==3.1.3
3133
# via flask
32-
markupsafe==2.1.3
34+
markupsafe==2.1.5
3335
# via
3436
# jinja2
3537
# werkzeug
3638
# wtforms
37-
packaging==23.2
39+
packaging==24.0
3840
# via pytest
39-
pluggy==1.3.0
41+
pluggy==1.4.0
4042
# via pytest
41-
pytest==7.4.2
43+
pytest==8.1.1
4244
# via
4345
# -r requirements/tests.in
4446
# pytest-cov
45-
pytest-cov==4.1.0
47+
pytest-cov==5.0.0
4648
# via -r requirements/tests.in
47-
sqlalchemy==2.0.21
49+
sqlalchemy==2.0.29
4850
# via flask-sqlalchemy
4951
tomli==2.0.1
5052
# via
5153
# coverage
5254
# pytest
53-
typing-extensions==4.8.0
55+
typing-extensions==4.11.0
5456
# via sqlalchemy
55-
werkzeug==3.0.0
57+
werkzeug==3.0.2
5658
# via flask
57-
wtforms==3.1.0
59+
wtforms==3.1.2
5860
# via flask-wtf

tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[tox]
2+
isolated_build = True
23
envlist = py38, py39, py310, py311, py312, flake8, docs
34
skip_missing_interpreters = true
45

0 commit comments

Comments
 (0)