requirements: Add importlib-metadata
This commit is contained in:
parent
bd8eef8fe1
commit
8a3c77ffd2
|
|
@ -105,6 +105,10 @@ The following libraries are optional:
|
||||||
* https://pypi.org/project/adblock/[adblock] (for improved adblocking using ABP syntax)
|
* https://pypi.org/project/adblock/[adblock] (for improved adblocking using ABP syntax)
|
||||||
* On Windows, https://pypi.python.org/pypi/colorama/[colorama] for colored log
|
* On Windows, https://pypi.python.org/pypi/colorama/[colorama] for colored log
|
||||||
output.
|
output.
|
||||||
|
* https://importlib-metadata.readthedocs.io/[importlib_resources] on Python 3.7
|
||||||
|
or older, to improve QtWebEngine version detection when PyQtWebEngine is
|
||||||
|
installed via pip (thus, this dependency usually isn't relevant for
|
||||||
|
packagers).
|
||||||
* https://asciidoc.org/[asciidoc] to generate the documentation for the `:help`
|
* https://asciidoc.org/[asciidoc] to generate the documentation for the `:help`
|
||||||
command, when using the git repository (rather than a release).
|
command, when using the git repository (rather than a release).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,9 @@ Added
|
||||||
|
|
||||||
- New `:screenshot` command which can be used to screenshot the visible part of
|
- New `:screenshot` command which can be used to screenshot the visible part of
|
||||||
the page.
|
the page.
|
||||||
|
- New optional dependency on the `importlib_metadata` project on Python 3.7 and
|
||||||
|
below. This is only relevant when PyQtWebEngine is installed via pip - thus,
|
||||||
|
this dependency usually isn't relevant for packagers.
|
||||||
|
|
||||||
Changed
|
Changed
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
chardet==4.0.0
|
chardet==4.0.0
|
||||||
diff-cover==4.2.1
|
diff-cover==4.2.1
|
||||||
|
importlib-metadata==3.7.0
|
||||||
importlib-resources==5.1.0
|
importlib-resources==5.1.0
|
||||||
inflect==5.0.2
|
inflect==5.0.2
|
||||||
Jinja2==2.11.3
|
Jinja2==2.11.3
|
||||||
|
|
@ -15,3 +16,4 @@ Pygments==2.8.0
|
||||||
PyQt5-stubs==5.15.2.0
|
PyQt5-stubs==5.15.2.0
|
||||||
typed-ast==1.4.2
|
typed-ast==1.4.2
|
||||||
typing-extensions==3.7.4.3
|
typing-extensions==3.7.4.3
|
||||||
|
zipp==3.4.0
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
mypy
|
mypy
|
||||||
lxml # For HTML reports
|
lxml # For HTML reports
|
||||||
diff-cover
|
diff-cover
|
||||||
importlib_resources # So stubs are available even on newer Python versions
|
|
||||||
PyQt5-stubs
|
PyQt5-stubs
|
||||||
|
|
||||||
|
# So stubs are available even on newer Python versions
|
||||||
|
importlib_resources
|
||||||
|
importlib_metadata
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,13 @@ Pygments # For :view-source --pygments or on QtWebKit
|
||||||
colorama # Colored log output on Windows
|
colorama # Colored log output on Windows
|
||||||
adblock # Improved adblocking
|
adblock # Improved adblocking
|
||||||
|
|
||||||
|
# Optional, only relevant when installing PyQt5/PyQtWebEngine via pip.
|
||||||
|
importlib-metadata # Determining PyQt version
|
||||||
|
typing_extensions # from importlib-metadata
|
||||||
|
|
||||||
#@ markers: importlib-resources python_version<"3.9"
|
#@ markers: importlib-resources python_version<"3.9"
|
||||||
|
#@ markers: importlib-metadata python_version<"3.8"
|
||||||
|
#@ markers: typing_extensions python_version<"3.8"
|
||||||
#@ markers: dataclasses python_version<"3.7"
|
#@ markers: dataclasses python_version<"3.7"
|
||||||
|
|
||||||
# https://github.com/ArniDagur/python-adblock/issues/28
|
# https://github.com/ArniDagur/python-adblock/issues/28
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,11 @@
|
||||||
adblock==0.4.2 ; python_version!="3.10"
|
adblock==0.4.2 ; python_version!="3.10"
|
||||||
colorama==0.4.4
|
colorama==0.4.4
|
||||||
dataclasses==0.6 ; python_version<"3.7"
|
dataclasses==0.6 ; python_version<"3.7"
|
||||||
|
importlib-metadata==3.7.0 ; python_version<"3.8"
|
||||||
importlib-resources==5.1.0 ; python_version<"3.9"
|
importlib-resources==5.1.0 ; python_version<"3.9"
|
||||||
Jinja2==2.11.3
|
Jinja2==2.11.3
|
||||||
MarkupSafe==1.1.1
|
MarkupSafe==1.1.1
|
||||||
Pygments==2.8.0
|
Pygments==2.8.0
|
||||||
PyYAML==5.4.1
|
PyYAML==5.4.1
|
||||||
|
typing-extensions==3.7.4.3
|
||||||
|
zipp==3.4.0
|
||||||
|
|
|
||||||
|
|
@ -175,6 +175,8 @@ CHANGELOG_URLS = {
|
||||||
'pyroma': 'https://github.com/regebro/pyroma/blob/master/HISTORY.txt',
|
'pyroma': 'https://github.com/regebro/pyroma/blob/master/HISTORY.txt',
|
||||||
'adblock': 'https://github.com/ArniDagur/python-adblock/blob/master/CHANGELOG.md',
|
'adblock': 'https://github.com/ArniDagur/python-adblock/blob/master/CHANGELOG.md',
|
||||||
'importlib-resources': 'https://importlib-resources.readthedocs.io/en/latest/history.html',
|
'importlib-resources': 'https://importlib-resources.readthedocs.io/en/latest/history.html',
|
||||||
|
'importlib-metadata': 'https://github.com/python/importlib_metadata/blob/main/CHANGES.rst',
|
||||||
|
'zipp': 'https://github.com/jaraco/zipp/blob/main/CHANGES.rst',
|
||||||
'dataclasses': 'https://github.com/ericvsmith/dataclasses#release-history',
|
'dataclasses': 'https://github.com/ericvsmith/dataclasses#release-history',
|
||||||
'pip': 'https://pip.pypa.io/en/stable/news/',
|
'pip': 'https://pip.pypa.io/en/stable/news/',
|
||||||
'wheel': 'https://wheel.readthedocs.io/en/stable/news.html',
|
'wheel': 'https://wheel.readthedocs.io/en/stable/news.html',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue