summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-05-08 00:17:13 +0200
committerGitHub <noreply@github.com>2023-05-08 00:17:13 +0200
commit0e41c1efb4a865e11cd752857759c23c2e955bc8 (patch)
tree4a0c0883ccca953c66e7bbe3ee58ca31e0e5b251
parent346a39ba14bdc05ce21dc1233027803dcaf34cc6 (diff)
parent64811478a301c0a706d0ae063dddb9035814ef2c (diff)
downloadqutebrowser-0e41c1efb4a865e11cd752857759c23c2e955bc8.tar.gz
qutebrowser-0e41c1efb4a865e11cd752857759c23c2e955bc8.zip
Merge pull request #7687 from qutebrowser/update-dependencies
Update dependencies
-rw-r--r--misc/requirements/README.md7
-rw-r--r--misc/requirements/requirements-dev.txt10
-rw-r--r--misc/requirements/requirements-pylint.txt12
-rw-r--r--misc/requirements/requirements-pyroma.txt4
-rw-r--r--misc/requirements/requirements-sphinx.txt4
-rw-r--r--misc/requirements/requirements-tests.txt17
-rw-r--r--misc/requirements/requirements-tests.txt-raw5
-rw-r--r--misc/requirements/requirements-tox.txt10
-rw-r--r--scripts/dev/changelog_urls.json3
-rw-r--r--scripts/link_pyqt.py13
10 files changed, 54 insertions, 31 deletions
diff --git a/misc/requirements/README.md b/misc/requirements/README.md
index 330233bca..d90a065e9 100644
--- a/misc/requirements/README.md
+++ b/misc/requirements/README.md
@@ -19,4 +19,11 @@ Some examples:
#@ filter: mypkg != 1.0.0
#@ ignore: mypkg, otherpkg
#@ replace: foo bar
+
+## Use the marker line to restrict the unpinned Flask requirement to python
+## 3.7. For python 3.7 add a specific version into the output.
+Flask
+# Python 3.7
+#@ markers: Flask python_version>="3.7"
+#@ add: Flask==2.2.5 ; python_version=="3.7.*"
```
diff --git a/misc/requirements/requirements-dev.txt b/misc/requirements/requirements-dev.txt
index 81373f671..ffc7499aa 100644
--- a/misc/requirements/requirements-dev.txt
+++ b/misc/requirements/requirements-dev.txt
@@ -8,8 +8,8 @@ cffi==1.15.1
charset-normalizer==3.1.0
cryptography==40.0.2
docutils==0.19
-github3.py==4.0.0
-hunter==3.5.1
+github3.py==4.0.1
+hunter==3.6.1
idna==3.4
importlib-metadata==6.6.0
importlib-resources==5.12.0
@@ -31,10 +31,10 @@ pyproject_hooks==1.0.0
PyQt-builder==1.15.0
python-dateutil==2.8.2
readme-renderer==37.3
-requests==2.28.2
-requests-toolbelt==0.10.1
+requests==2.29.0
+requests-toolbelt==1.0.0
rfc3986==2.0.0
-rich==13.3.4
+rich==13.3.5
SecretStorage==3.3.3
sip==6.7.9
six==1.16.0
diff --git a/misc/requirements/requirements-pylint.txt b/misc/requirements/requirements-pylint.txt
index 04bffc588..6fb63a15c 100644
--- a/misc/requirements/requirements-pylint.txt
+++ b/misc/requirements/requirements-pylint.txt
@@ -1,27 +1,27 @@
# This file is automatically generated by scripts/dev/recompile_requirements.py
-astroid==2.15.3
+astroid==2.15.4
certifi==2022.12.7
cffi==1.15.1
charset-normalizer==3.1.0
cryptography==40.0.2
dill==0.3.6
-github3.py==4.0.0
+github3.py==4.0.1
idna==3.4
isort==5.11.5
lazy-object-proxy==1.9.0
mccabe==0.7.0
pefile==2023.2.7
-platformdirs==3.2.0
+platformdirs==3.5.0
pycparser==2.21
PyJWT==2.6.0
-pylint==2.17.2
+pylint==2.17.3
python-dateutil==2.8.2
./scripts/dev/pylint_checkers
-requests==2.28.2
+requests==2.29.0
six==1.16.0
tomli==2.0.1
-tomlkit==0.11.7
+tomlkit==0.11.8
typed-ast==1.5.4 ; python_version<"3.8"
typing_extensions==4.5.0
uritemplate==4.1.1
diff --git a/misc/requirements/requirements-pyroma.txt b/misc/requirements/requirements-pyroma.txt
index e280d3aa4..ab4b35aed 100644
--- a/misc/requirements/requirements-pyroma.txt
+++ b/misc/requirements/requirements-pyroma.txt
@@ -9,7 +9,7 @@ packaging==23.1
Pygments==2.15.1
pyproject_hooks==1.0.0
pyroma==4.2
-requests==2.28.2
+requests==2.29.0
tomli==2.0.1
-trove-classifiers==2023.4.22
+trove-classifiers==2023.4.29
urllib3==1.26.15
diff --git a/misc/requirements/requirements-sphinx.txt b/misc/requirements/requirements-sphinx.txt
index 0f7737afb..b93e96fe3 100644
--- a/misc/requirements/requirements-sphinx.txt
+++ b/misc/requirements/requirements-sphinx.txt
@@ -13,9 +13,9 @@ MarkupSafe==2.1.2
packaging==23.1
Pygments==2.15.1
pytz==2023.3
-requests==2.28.2
+requests==2.29.0
snowballstemmer==2.2.0
-Sphinx==6.2.0
+Sphinx==7.0.0
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
diff --git a/misc/requirements/requirements-tests.txt b/misc/requirements/requirements-tests.txt
index e0df90ac1..befbbf989 100644
--- a/misc/requirements/requirements-tests.txt
+++ b/misc/requirements/requirements-tests.txt
@@ -2,17 +2,18 @@
attrs==23.1.0
beautifulsoup4==4.12.2
+blinker==1.6.2
certifi==2022.12.7
charset-normalizer==3.1.0
cheroot==9.0.0
click==8.1.3
-coverage==7.2.3
+coverage==7.2.5
exceptiongroup==1.1.1
execnet==1.9.0
filelock==3.12.0
-Flask==2.2.3
-hunter==3.5.1
-hypothesis==6.72.1
+Flask==2.3.2 ; python_version>="3.8"
+hunter==3.6.1
+hypothesis==6.75.1
idna==3.4
importlib-metadata==6.6.0
iniconfig==2.0.0
@@ -41,16 +42,18 @@ pytest-rerunfailures==11.1.2
pytest-xdist==3.2.1
pytest-xvfb==2.0.0
PyVirtualDisplay==3.0
-requests==2.28.2
+requests==2.29.0
requests-file==1.5.1
six==1.16.0
sortedcontainers==2.4.0
soupsieve==2.4.1
-tldextract==3.4.0
+tldextract==3.4.1
toml==0.10.2
tomli==2.0.1
typing_extensions==4.5.0
urllib3==1.26.15
vulture==2.7
-Werkzeug==2.2.3
+Werkzeug==2.3.3 ; python_version>="3.8"
zipp==3.15.0
+Werkzeug==2.2.3 ; python_version=="3.7.*"
+Flask==2.2.5 ; python_version=="3.7.*"
diff --git a/misc/requirements/requirements-tests.txt-raw b/misc/requirements/requirements-tests.txt-raw
index 54e036106..f50754ba6 100644
--- a/misc/requirements/requirements-tests.txt-raw
+++ b/misc/requirements/requirements-tests.txt-raw
@@ -32,3 +32,8 @@ pytest-xdist
tldextract
#@ ignore: Jinja2, MarkupSafe, colorama
+# Python 3.7
+#@ markers: Flask python_version>="3.8"
+#@ add: Flask==2.2.5 ; python_version=="3.7.*"
+#@ markers: Werkzeug python_version>="3.8"
+#@ add: Werkzeug==2.2.3 ; python_version=="3.7.*"
diff --git a/misc/requirements/requirements-tox.txt b/misc/requirements/requirements-tox.txt
index 7a28f9747..4166a798a 100644
--- a/misc/requirements/requirements-tox.txt
+++ b/misc/requirements/requirements-tox.txt
@@ -6,12 +6,12 @@ colorama==0.4.6
distlib==0.3.6
filelock==3.12.0
packaging==23.1
-pip==23.1.1
-platformdirs==3.2.0
+pip==23.1.2
+platformdirs==3.5.0
pluggy==1.0.0
pyproject_api==1.5.1
-setuptools==67.7.1
+setuptools==67.7.2
tomli==2.0.1
-tox==4.4.12
-virtualenv==20.22.0
+tox==4.5.1
+virtualenv==20.23.0
wheel==0.40.0
diff --git a/scripts/dev/changelog_urls.json b/scripts/dev/changelog_urls.json
index 67820cd47..eed9032dd 100644
--- a/scripts/dev/changelog_urls.json
+++ b/scripts/dev/changelog_urls.json
@@ -161,5 +161,6 @@
"asciidoc": "https://asciidoc-py.github.io/CHANGELOG.html",
"pyproject_hooks": "https://pyproject-hooks.readthedocs.io/en/latest/changelog.html",
"markdown-it-py": "https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md",
- "mdurl": "https://github.com/executablebooks/mdurl/commits/master"
+ "mdurl": "https://github.com/executablebooks/mdurl/commits/master",
+ "blinker": "https://blinker.readthedocs.io/en/stable/#changes"
}
diff --git a/scripts/link_pyqt.py b/scripts/link_pyqt.py
index ff524f056..028c18ee2 100644
--- a/scripts/link_pyqt.py
+++ b/scripts/link_pyqt.py
@@ -28,6 +28,7 @@ import sys
import subprocess
import tempfile
import filecmp
+import json
class Error(Exception):
@@ -200,9 +201,15 @@ def get_venv_lib_path(path):
def get_tox_syspython(tox_path):
"""Get the system python based on a virtualenv created by tox."""
path = os.path.join(tox_path, '.tox-config1')
- with open(path, encoding='ascii') as f:
- line = f.readline()
- _md5, sys_python = line.rstrip().split(' ', 1)
+ if os.path.exists(path): # tox3
+ with open(path, encoding='ascii') as f:
+ line = f.readline()
+ _md5, sys_python = line.rstrip().split(' ', 1)
+ else: # tox4
+ path = os.path.join(tox_path, '.tox-info.json')
+ with open(path, encoding='utf-8') as f:
+ data = json.load(f)
+ sys_python = data["Python"]["executable"]
# Follow symlinks to get the system-wide interpreter if we have a tox isolated
# build.
return os.path.realpath(sys_python)