Skip to content

Commit

Permalink
Bump pygments for CVE-2022-40896, clean up other req formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Aug 26, 2024
1 parent 95659e3 commit 9ef7358
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 19 deletions.
6 changes: 1 addition & 5 deletions requirements/colors.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
#Pygments >= 2.2.0

Pygments>= 2.4.1 ; python_version >= '3.5.0' # Python 2.7
Pygments>= 2.0.0 ; python_version < '3.5.0' and python_version >= '2.7.0' # Python 2.7-3.4

Pygments >= 2.15.1
colorama >= 0.4.1;platform_system=="Windows"
2 changes: 1 addition & 1 deletion requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ sphinx-autobuild >= 2021.3.14
sphinx_rtd_theme >= 1.0.0
sphinxcontrib-napoleon >= 0.7
sphinx-autoapi >= 1.8.4
Pygments >= 2.9.0
Pygments >= 2.15.1
myst_parser >= 0.18.0
sphinx-reredirects >= 0.0.1
9 changes: 0 additions & 9 deletions requirements/jupyter.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,20 @@
# xdev availpkg attrs
# xdev availpkg ipython_genutils


nbconvert>=6.1.0; python_version >= '3.7.0' and platform_python_implementation != "PyPy" # Python 3.7+
nbconvert>=6.0.0; python_version < '3.7.0' and python_version >= '3.6.0' and platform_python_implementation != "PyPy" # Python 3.6

# For nbconvert
jinja2>=3.0.0 ; python_version >= '3.6' and platform_python_implementation != "PyPy" # Python 3.6+


jupyter_client>=7.0.0


IPython>=7.23.1


# Requires psutil? Breaking on pypy windows?
ipykernel>=6.11.0 ; python_version < '4.0' and python_version >= '3.12' and (platform_system!="Windows" or platform_python_implementation != "PyPy") # Python 3.12+
ipykernel>=6.0.0 ; python_version < '3.12' and python_version >= '3.7' and (platform_system!="Windows" or platform_python_implementation != "PyPy") # Python 3.7-3.11


# For IPython-kernel
debugpy>=1.6.0 ; python_version >= '3.10' # Python 3.10+
debugpy>=1.3.0 ; python_version < '3.10' and python_version >= '3.9' # Python 3.9
Expand All @@ -35,14 +30,10 @@ debugpy>=1.0.0 ; python_version < '3.9' and python_version >= '3.8' # Pyt
# Needed for earlier versions of nbconvert
ipython_genutils >= 0.2.0 ; python_version >= '3.6' and platform_python_implementation != "PyPy" # Python 3.10+


# For IPython
jedi>=0.16

attrs>=19.2.0

# For jupyter-client
jupyter_core >= 4.7.0

# For jupyter-core
# pywin32>=1.0; platform_system=="Windows" and python_version >= '3.6' and platform_python_implementation != "PyPy"
2 changes: 1 addition & 1 deletion requirements/tests-binary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ pybind11>=2.10.3 ; python_version < '4.0' and python_version >= '3.11' # Pyt
pybind11>=2.7.1 ; python_version < '3.11' # Python <=3.10

cmake>=3.25.0 ; python_version < '4.0' and python_version >= '3.11' # Python 3.11+
cmake>=3.21.2 ; python_version < '3.11' # Python <=3.10
cmake>=3.21.2 ; python_version < '3.11' # Python <=3.10
6 changes: 3 additions & 3 deletions requirements/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# major.minor version.
# See xdev availpkg for helper script

pytest >= 6.2.5 ; python_version >= '3.10.0' # Python 3.10+
pytest >= 4.6.0 ; python_version < '3.10.0' and python_version >= '3.7.0' # Python 3.7-3.9
pytest >= 6.2.5 ; python_version >= '3.10.0' # Python 3.10+
pytest >= 4.6.0 ; python_version < '3.10.0' and python_version >= '3.7.0' # Python 3.7-3.9

pytest-cov >= 3.0.0 ; python_version >= '3.6.0' # Python 3.6+
pytest-cov >= 3.0.0 ; python_version >= '3.6.0' # Python 3.6+

0 comments on commit 9ef7358

Please sign in to comment.