Skip to content

Commit 462ae7a

Browse files
committed
Move dependencies from requirements.txt to pyproject.toml
1 parent aff2170 commit 462ae7a

2 files changed

Lines changed: 38 additions & 35 deletions

File tree

pyproject.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,44 @@ classifiers = [
1414
"Programming Language :: Python :: 3.11",
1515
]
1616

17+
dependencies = [
18+
"tornado==4.5.3", # http://www.tornadoweb.org/en/stable/releases.html
19+
"psycopg2==2.9.10", # http://initd.org/psycopg/articles/tag/release/
20+
"sqlalchemy>=1.3,<1.4", # http://docs.sqlalchemy.org/en/latest/changelog/index.html
21+
"netifaces>=0.10,<0.12", # https://bitbucket.org/al45tair/netifaces/src/
22+
"pycryptodomex==3.23.0", # https://github.com/Legrandin/pycryptodome/blob/master/Changelog.rst
23+
"psutil>=5.5,<7.1", # https://github.com/giampaolo/psutil/blob/master/HISTORY.rst
24+
"requests==2.32.3", # https://pypi.python.org/pypi/requests
25+
"gevent==25.5.1", # http://www.gevent.org/changelog.html
26+
"greenlet>=3.0rc1",
27+
"werkzeug<1.0", # https://github.com/pallets/werkzeug/blob/master/CHANGES
28+
"backports.ssl-match-hostname==3.7.0.1", # required by tornado<5.0
29+
"patool>=1.12,<4.1", # https://github.com/wummel/patool/blob/master/doc/changelog.txt
30+
"bcrypt>=3.1,<4.4", # https://github.com/pyca/bcrypt/
31+
"chardet>=3.0,<5.3", # https://pypi.python.org/pypi/chardet
32+
"babel==2.12.1", # http://babel.pocoo.org/en/latest/changelog.html
33+
"pyxdg>=0.26,<0.29", # https://freedesktop.org/wiki/Software/pyxdg/
34+
"Jinja2>=2.10,<2.11", # http://jinja.pocoo.org/docs/latest/changelog/
35+
"markdown-it-py==3.0.0", # https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md
36+
37+
# See https://github.com/pallets/markupsafe/issues/286 but breaking change in
38+
# MarkupSafe causes jinja to break
39+
"MarkupSafe==2.0.1",
40+
41+
# Only for some importers:
42+
"pyyaml>=5.3,<6.1", # http://pyyaml.org/wiki/PyYAML
43+
44+
# Only for printing:
45+
"pycups==2.0.4", # https://pypi.python.org/pypi/pycups
46+
"PyPDF2>=1.26,<3.1", # https://github.com/mstamy2/PyPDF2/blob/master/CHANGELOG
47+
48+
# Only for cmsPrometheusExporter
49+
"prometheus-client>=0.7,<0.22", # https://pypi.org/project/prometheus-client
50+
51+
# Only for cmsTelegramBot
52+
"python-telegram-bot>=21.9,<21.12", # https://pypi.org/project/python-telegram-bot
53+
]
54+
1755
[project.urls]
1856
Documentation = "https://cms.readthedocs.io/"
1957
Repository = "https://github.com/cms-dev/cms"

requirements.txt

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)