Skip to content

Commit

Permalink
Release 2.4.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Apr 7, 2024
1 parent 964ef8d commit a53e696
Show file tree
Hide file tree
Showing 10 changed files with 75 additions and 54 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
python-version: '3.x'
cache: pip
cache-dependency-path: requirements*/*.txt
- run: pip install setuptools wheel
- run: pip install setuptools wheel build
# Use the commit date instead of the current date during the build.
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
- run: python setup.py sdist bdist_wheel
- run: python -m build
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
path: ./dist
Expand Down
11 changes: 11 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
Changelog
=========

2.4.0
-----

Release date: 2024/4/7

- Test against Python 3.12.
- Replaced deprecated color "muted" with "secondary" (`#340 <https://github.com/helloflask/bootstrap-flask/pull/340>`__).
- Adding ``body_classes`` parameter to ``render_table`` (`#350 <https://github.com/helloflask/bootstrap-flask/pull/350>`__).
- Migrate setup.py to pyproject.toml.


2.3.3
-----

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[project]
name = "Bootstrap-Flask"
version = "2.4.0"
description = "Bootstrap 4 & 5 helper for your Flask projects."
readme = "README.md"
license = { text = "MIT" }
Expand All @@ -22,7 +23,6 @@ classifiers = [
'Topic :: Software Development :: Libraries :: Python Modules',
]
dependencies = ["Flask", "WTForms"]
version = "2.3.3"

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

[build-system]
requires = ["setuptools"]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
Expand Down
1 change: 1 addition & 0 deletions requirements/build.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
wheel
build
15 changes: 12 additions & 3 deletions requirements/build.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# SHA1:574f214f412321e33a09f6d788b9561e2281c879
#
# This file is autogenerated by pip-compile with python 3.10
# This file is autogenerated by pip-compile-multi
# To update, run:
#
# pip-compile requirements/build.in
# pip-compile-multi
#
wheel==0.42.0
build==1.2.1
# via -r requirements/build.in
packaging==24.0
# via build
pyproject-hooks==1.0.0
# via build
tomli==2.0.1
# via build
wheel==0.43.0
# via -r requirements/build.in
22 changes: 12 additions & 10 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,41 @@
-r docs.txt
-r style.txt
-r tests.txt
build==1.0.3
build==1.2.1
# via pip-tools
cachetools==5.3.1
cachetools==5.3.3
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.3.7
distlib==0.3.8
# via virtualenv
filelock==3.12.4
filelock==3.13.3
# via
# tox
# virtualenv
pip-compile-multi==2.6.3
# via -r requirements/dev.in
pip-tools==7.3.0
pip-tools==7.4.1
# via pip-compile-multi
platformdirs==3.11.0
platformdirs==4.2.0
# via
# tox
# virtualenv
pyproject-api==1.6.1
# via tox
pyproject-hooks==1.0.0
# via build
# via
# build
# pip-tools
toposort==1.10
# via pip-compile-multi
tox==4.11.3
tox==4.14.2
# via -r requirements/dev.in
virtualenv==20.24.5
virtualenv==20.25.1
# via tox
wheel==0.41.2
wheel==0.43.0
# via pip-tools

# The following packages are considered to be unsafe in a requirements file:
Expand Down
35 changes: 15 additions & 20 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,31 @@
#
# pip-compile-multi
#
alabaster==0.7.13
alabaster==0.7.16
# via sphinx
babel==2.13.0
babel==2.14.0
# via sphinx
certifi==2023.7.22
certifi==2024.2.2
# via requests
charset-normalizer==3.3.0
charset-normalizer==3.3.2
# via requests
docutils==0.20.1
# via sphinx
idna==3.4
idna==3.6
# via requests
imagesize==1.4.1
# via sphinx
jinja2==3.1.2
jinja2==3.1.3
# via sphinx
markupsafe==2.1.3
markupsafe==2.1.5
# via jinja2
packaging==23.2
packaging==24.0
# via
# pallets-sphinx-themes
# sphinx
pallets-sphinx-themes==2.1.1
# via -r requirements/docs.in
pygments==2.16.1
pygments==2.17.2
# via sphinx
requests==2.31.0
# via sphinx
Expand All @@ -39,25 +39,20 @@ sphinx==7.2.6
# via
# -r requirements/docs.in
# pallets-sphinx-themes
# sphinxcontrib-applehelp
# sphinxcontrib-devhelp
# sphinxcontrib-htmlhelp
# sphinxcontrib-log-cabinet
# sphinxcontrib-qthelp
# sphinxcontrib-serializinghtml
sphinxcontrib-applehelp==1.0.7
sphinxcontrib-applehelp==1.0.8
# via sphinx
sphinxcontrib-devhelp==1.0.5
sphinxcontrib-devhelp==1.0.6
# via sphinx
sphinxcontrib-htmlhelp==2.0.4
sphinxcontrib-htmlhelp==2.0.5
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-log-cabinet==1.0.1
# via -r requirements/docs.in
sphinxcontrib-qthelp==1.0.6
sphinxcontrib-qthelp==1.0.7
# via sphinx
sphinxcontrib-serializinghtml==1.1.9
sphinxcontrib-serializinghtml==1.1.10
# via sphinx
urllib3==2.0.6
urllib3==2.2.1
# via requests
6 changes: 3 additions & 3 deletions requirements/style.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
#
# pip-compile-multi
#
flake8==6.1.0
flake8==7.0.0
# via -r requirements/style.in
mccabe==0.7.0
# via flake8
pycodestyle==2.11.0
pycodestyle==2.11.1
# via flake8
pyflakes==3.1.0
pyflakes==3.2.0
# via flake8
30 changes: 16 additions & 14 deletions requirements/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,54 +5,56 @@
#
# pip-compile-multi
#
blinker==1.6.3
blinker==1.7.0
# via flask
click==8.1.7
# via flask
coverage[toml]==7.3.2
coverage[toml]==7.4.4
# via pytest-cov
exceptiongroup==1.1.3
exceptiongroup==1.2.0
# via pytest
flask==3.0.0
flask==3.0.2
# via
# flask-sqlalchemy
# flask-wtf
flask-sqlalchemy==3.1.1
# via -r requirements/tests.in
flask-wtf==1.2.1
# via -r requirements/tests.in
greenlet==3.0.3
# via sqlalchemy
iniconfig==2.0.0
# via pytest
itsdangerous==2.1.2
# via
# flask
# flask-wtf
jinja2==3.1.2
jinja2==3.1.3
# via flask
markupsafe==2.1.3
markupsafe==2.1.5
# via
# jinja2
# werkzeug
# wtforms
packaging==23.2
packaging==24.0
# via pytest
pluggy==1.3.0
pluggy==1.4.0
# via pytest
pytest==7.4.2
pytest==8.1.1
# via
# -r requirements/tests.in
# pytest-cov
pytest-cov==4.1.0
pytest-cov==5.0.0
# via -r requirements/tests.in
sqlalchemy==2.0.21
sqlalchemy==2.0.29
# via flask-sqlalchemy
tomli==2.0.1
# via
# coverage
# pytest
typing-extensions==4.8.0
typing-extensions==4.11.0
# via sqlalchemy
werkzeug==3.0.0
werkzeug==3.0.2
# via flask
wtforms==3.1.0
wtforms==3.1.2
# via flask-wtf
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[tox]
isolated_build = True
envlist = py38, py39, py310, py311, py312, flake8, docs
skip_missing_interpreters = true

Expand Down

0 comments on commit a53e696

Please sign in to comment.