python 3.9, dep updates, script

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
Brian S. Stephan 2025-03-16 13:59:04 -05:00
parent f23154ba95
commit aa4d5a3585
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
4 changed files with 12 additions and 37 deletions

View File

@ -10,8 +10,8 @@ license = {text = "AGPL-3.0-or-later"}
authors = [ authors = [
{name = "Brian S. Stephan", email = "bss@incorporeal.org"}, {name = "Brian S. Stephan", email = "bss@incorporeal.org"},
] ]
requires-python = ">=3.8" requires-python = ">=3.9"
dependencies = ["feedgen", "Flask", "Markdown", "termcolor"] dependencies = ["feedgen", "jinja2", "Markdown", "termcolor"]
dynamic = ["version"] dynamic = ["version"]
classifiers = [ classifiers = [
"Framework :: Flask", "Framework :: Flask",
@ -34,6 +34,9 @@ dev = ["bandit", "dlint", "flake8", "flake8-blind-except", "flake8-builtins", "f
"setuptools-scm", "tox", "twine"] "setuptools-scm", "tox", "twine"]
dot = ["pydot"] dot = ["pydot"]
[project.scripts]
incorporealcms-build = "incorporealcms.ssg:build"
[tool.flake8] [tool.flake8]
enable-extensions = "G,M" enable-extensions = "G,M"
exclude = [".tox/", "venv/", "_version.py"] exclude = [".tox/", "venv/", "_version.py"]

View File

@ -6,7 +6,7 @@
# #
annotated-types==0.7.0 annotated-types==0.7.0
# via pydantic # via pydantic
attrs==25.2.0 attrs==25.3.0
# via reuse # via reuse
authlib==1.5.1 authlib==1.5.1
# via safety # via safety
@ -14,8 +14,6 @@ bandit==1.8.3
# via incorporeal-cms (pyproject.toml) # via incorporeal-cms (pyproject.toml)
binaryornot==0.4.4 binaryornot==0.4.4
# via reuse # via reuse
blinker==1.7.0
# via flask
boolean-py==4.0 boolean-py==4.0
# via # via
# license-expression # license-expression
@ -36,9 +34,8 @@ charset-normalizer==3.4.1
# via # via
# python-debian # python-debian
# requests # requests
click==8.1.7 click==8.1.8
# via # via
# flask
# nltk # nltk
# pip-tools # pip-tools
# reuse # reuse
@ -97,8 +94,6 @@ flake8-mutable==1.2.0
# via incorporeal-cms (pyproject.toml) # via incorporeal-cms (pyproject.toml)
flake8-pyproject==1.2.3 flake8-pyproject==1.2.3
# via incorporeal-cms (pyproject.toml) # via incorporeal-cms (pyproject.toml)
flask==3.0.3
# via incorporeal-cms (pyproject.toml)
id==1.5.0 id==1.5.0
# via twine # via twine
idna==3.10 idna==3.10
@ -107,8 +102,6 @@ iniconfig==2.0.0
# via pytest # via pytest
isort==6.0.1 isort==6.0.1
# via flake8-isort # via flake8-isort
itsdangerous==2.1.2
# via flask
jaraco-classes==3.4.0 jaraco-classes==3.4.0
# via keyring # via keyring
jaraco-context==6.0.1 jaraco-context==6.0.1
@ -121,7 +114,7 @@ jeepney==0.9.0
# secretstorage # secretstorage
jinja2==3.1.3 jinja2==3.1.3
# via # via
# flask # incorporeal-cms (pyproject.toml)
# reuse # reuse
# safety # safety
joblib==1.4.2 joblib==1.4.2
@ -137,9 +130,7 @@ markdown==3.6
markdown-it-py==3.0.0 markdown-it-py==3.0.0
# via rich # via rich
markupsafe==2.1.5 markupsafe==2.1.5
# via # via jinja2
# jinja2
# werkzeug
marshmallow==3.26.1 marshmallow==3.26.1
# via safety # via safety
mccabe==0.7.0 mccabe==0.7.0
@ -293,8 +284,6 @@ urllib3==2.3.0
# twine # twine
virtualenv==20.29.3 virtualenv==20.29.3
# via tox # via tox
werkzeug==3.0.2
# via flask
wheel==0.45.1 wheel==0.45.1
# via pip-tools # via pip-tools

View File

@ -4,31 +4,19 @@
# #
# pip-compile --output-file=requirements/requirements.txt # pip-compile --output-file=requirements/requirements.txt
# #
blinker==1.7.0
# via flask
click==8.1.7
# via flask
feedgen==1.0.0 feedgen==1.0.0
# via incorporeal-cms (pyproject.toml) # via incorporeal-cms (pyproject.toml)
flask==3.0.3
# via incorporeal-cms (pyproject.toml)
itsdangerous==2.1.2
# via flask
jinja2==3.1.3 jinja2==3.1.3
# via flask # via incorporeal-cms (pyproject.toml)
lxml==5.2.1 lxml==5.2.1
# via feedgen # via feedgen
markdown==3.6 markdown==3.6
# via incorporeal-cms (pyproject.toml) # via incorporeal-cms (pyproject.toml)
markupsafe==2.1.5 markupsafe==2.1.5
# via # via jinja2
# jinja2
# werkzeug
python-dateutil==2.9.0.post0 python-dateutil==2.9.0.post0
# via feedgen # via feedgen
six==1.16.0 six==1.16.0
# via python-dateutil # via python-dateutil
termcolor==2.5.0 termcolor==2.5.0
# via incorporeal-cms (pyproject.toml) # via incorporeal-cms (pyproject.toml)
werkzeug==3.0.2
# via flask

View File

@ -5,7 +5,7 @@
[tox] [tox]
isolated_build = true isolated_build = true
envlist = begin,py38,py39,py310,py311,py312,coverage,security,lint,reuse envlist = begin,py39,py310,py311,py312,coverage,security,lint,reuse
[testenv] [testenv]
allow_externals = pytest, coverage allow_externals = pytest, coverage
@ -21,11 +21,6 @@ deps = setuptools
skip_install = true skip_install = true
commands = coverage erase commands = coverage erase
[testenv:py38]
# run pytest with coverage
commands =
pytest --cov-append --cov={envsitepackagesdir}/incorporealcms/ --cov-branch
[testenv:py39] [testenv:py39]
# run pytest with coverage # run pytest with coverage
commands = commands =