Changeset 74434cc
- Timestamp:
- 10/16/2022 09:14:25 PM (19 months ago)
- Branches:
- 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
- Children:
- 6e98a080
- Parents:
- ef6402e
- Location:
- general/prog
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/python-dependencies/py.xml
ref6402e r74434cc 26 26 <para> 27 27 The <application>Py</application> library is a Python development 28 support library used in <application>Pytest</application>. 28 support library used in <application>Pytest</application>. It is 29 deprecated and should be removed at some point in time, but part of 30 it is still used in <application>Pytest</application>. 29 31 </para> 30 32 … … 83 85 84 86 <para> 85 This package does not come with a test suite.87 Now, as the <systemitem class="username">root</systemitem> user: 86 88 </para> 87 89 88 90 <para> 89 Now, as the <systemitem class="username">root</systemitem> user: 91 Due to the deprecation of this package, the test suite is not maintained 92 and cannot be run. 90 93 </para> 91 94 -
general/prog/python-dependencies/pyparsing.xml
ref6402e r74434cc 78 78 <para role="optional"> 79 79 <xref linkend="Jinja2"/> and 80 <ulink url="https://pypi.org/project/railroad-diagrams/">railroad-diagrams</ulink> 80 <ulink url="https://pypi.org/project/railroad-diagrams/">railroad-diagrams</ulink> (also needed for tests) 81 </para> 82 83 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 84 <para role="optional"> 85 <xref linkend="pytest"/> 81 86 </para> 82 87 … … 91 96 92 97 <para> 93 This package does not come with a test suite.94 </para>95 96 <para>97 98 Now, as the <systemitem class="username">root</systemitem> user: 98 99 </para> 99 100 100 101 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user pyparsing</userinput></screen> 102 103 <para> 104 Assuming <xref linkend="pytest"/> and <xref linkend="Jinja2"/> are 105 installed, but the other optional dependency is not, the installation 106 can be tested with the following commands: 107 </para> 108 109 <screen remap="test"><userinput>python3 -m venv --system-site-packages testenv && 110 source testenv/bin/activate && 111 pip3 install railroad-diagrams && 112 python3 /usr/bin/pytest<!-- no && because of a possible error --> 113 deactivate</userinput></screen> 101 114 102 115 </sect3> -
general/prog/python-dependencies/pytz.xml
ref6402e r74434cc 91 91 92 92 <para> 93 To test the installation, run <command>pytest pytz/tests</command>.93 To test the installation, run <command>pytest</command>. 94 94 </para> 95 95 -
general/prog/python-dependencies/setuptools_scm.xml
ref6402e r74434cc 75 75 </para> 76 76 77 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 78 <para role="optional"> 79 <xref linkend="git"/>, 80 <xref linkend="mercurial"/>, and 81 <xref linkend="pytest"/> 82 </para> 83 77 84 </sect3> 78 85 … … 85 92 86 93 <para> 87 This package does not come with a test suite.88 </para>89 90 <para>91 94 Now, as the <systemitem class="username">root</systemitem> user: 92 95 </para> 93 96 94 97 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user setuptools_scm</userinput></screen> 98 99 <para> 100 The installtion can be tested with <command>pytest</command>. A few 101 tests may fail is your <application>git</application> configuration 102 is not the one expected by the test suite. 103 </para> 95 104 96 105 </sect3> -
general/prog/python-dependencies/sphinxcontrib-applehelp.xml
ref6402e r74434cc 68 68 <bridgehead renderas="sect4">Sphinxcontrib-applehelp Dependencies</bridgehead> 69 69 70 <bridgehead renderas="sect5">Optional </bridgehead>70 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 71 71 <para role="optional"> 72 <xref linkend="pytest"/> (for tests), 73 <ulink url="https://pypi.org/project/docutils-stubs/"> 74 docutils-stubs 75 </ulink>, 76 <ulink url="https://pypi.org/project/flake8/"> 77 flake8 78 </ulink>, and 79 <ulink url="https://pypi.org/project/mypy/"> 80 mypy 81 </ulink> 72 <xref linkend="pytest"/> 82 73 </para> 83 74 … … 92 83 93 84 <para> 94 This package does not come with a test suite.95 </para>96 97 <para>98 85 Now, as the <systemitem class="username">root</systemitem> user: 99 86 </para> 100 87 101 88 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user sphinxcontrib-applehelp</userinput></screen> 89 90 <para> 91 To test the installation, run <command>pytest</command>. 92 </para> 102 93 103 94 </sect3> -
general/prog/python-dependencies/sphinxcontrib-devhelp.xml
ref6402e r74434cc 69 69 <bridgehead renderas="sect4">Sphinxcontrib-devhelp Dependencies</bridgehead> 70 70 71 <bridgehead renderas="sect5">Optional </bridgehead>71 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 72 72 <para role="optional"> 73 <xref linkend="pytest"/> (for tests), 74 <ulink url="https://pypi.org/project/docutils-stubs/"> 75 docutils-stubs 76 </ulink>, 77 <ulink url="https://pypi.org/project/flake8/"> 78 flake8 79 </ulink>, and 80 <ulink url="https://pypi.org/project/mypy/"> 81 mypy 82 </ulink> 73 <xref linkend="pytest"/> 83 74 </para> 84 75 … … 93 84 94 85 <para> 95 This package does not come with a test suite.96 </para>97 98 <para>99 86 Now, as the <systemitem class="username">root</systemitem> user: 100 87 </para> 101 88 102 89 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user sphinxcontrib-devhelp</userinput></screen> 90 91 <para> 92 To test the installation, run <command>pytest</command>. 93 </para> 103 94 104 95 </sect3> -
general/prog/python-dependencies/sphinxcontrib-htmlhelp.xml
ref6402e r74434cc 68 68 <bridgehead renderas="sect4">Sphinxcontrib-htmlhelp Dependencies</bridgehead> 69 69 70 <bridgehead renderas="sect5">Optional </bridgehead>70 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 71 71 <para role="optional"> 72 <xref linkend="pytest"/> (for tests), 73 <ulink url="https://pypi.org/project/docutils-stubs/"> 74 docutils-stubs 75 </ulink>, 76 <ulink url="https://pypi.org/project/flake8/"> 77 flake8 78 </ulink>, 79 <ulink url="https://pypi.org/project/html5lib/"> 80 html5lib 81 </ulink> (for tests), and 82 <ulink url="https://pypi.org/project/mypy/"> 83 mypy 84 </ulink> 72 <xref linkend="pytest"/> and 73 <ulink url="https://pypi.org/project/html5lib/">html5lib</ulink> 85 74 </para> 86 75 … … 95 84 96 85 <para> 97 This package does not come with a test suite.98 </para>99 100 <para>101 86 Now, as the <systemitem class="username">root</systemitem> user: 102 87 </para> 103 88 104 89 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user sphinxcontrib-htmlhelp</userinput></screen> 90 91 <para> 92 Assuming <xref linkend="pytest"/> is installed, but the other optional 93 dependency is not, the installation can be tested with the following 94 commands: 95 </para> 96 97 <screen remap="test"><userinput>python3 -m venv --system-site-packages testenv && 98 source testenv/bin/activate && 99 pip3 install html5lib && 100 sed -i 's/text()/read_&/' tests/test_htmlhelp.py && 101 python3 /usr/bin/pytest<!-- no && because of a possible error --> 102 deactivate</userinput></screen> 103 104 <para> 105 the <command>sed ...</command> command is needed because of a change 106 in <application>Sphinx</application> API for versions greater than 107 5.0. 108 </para> 105 109 106 110 </sect3> -
general/prog/python-dependencies/sphinxcontrib-jsmath.xml
ref6402e r74434cc 68 68 <bridgehead renderas="sect4">Sphinxcontrib-jsmath Dependencies</bridgehead> 69 69 70 <bridgehead renderas="sect5">Optional </bridgehead>70 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 71 71 <para role="optional"> 72 <xref linkend="pytest"/> (for tests), 73 <ulink url="https://pypi.org/project/flake8/"> 74 flake8 75 </ulink>, and 76 <ulink url="https://pypi.org/project/mypy/"> 77 mypy 78 </ulink> 72 <xref linkend="pytest"/> 79 73 </para> 80 74 … … 89 83 90 84 <para> 91 This package does not come with a test suite.92 </para>93 94 <para>95 85 Now, as the <systemitem class="username">root</systemitem> user: 96 86 </para> 97 87 98 88 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user sphinxcontrib-jsmath</userinput></screen> 89 90 <para> 91 The installation can be tested with the following commands: 92 </para> 93 94 <screen remap="test"><userinput>sed -i 's/text()/read_&/' tests/test_jsmath.py && 95 pytest</userinput></screen> 96 97 <para> 98 the <command>sed ...</command> command is needed because of a change 99 in <application>Sphinx</application> API for versions greater than 100 5.0. 101 </para> 99 102 100 103 </sect3> -
general/prog/python-dependencies/sphinxcontrib-qthelp.xml
ref6402e r74434cc 67 67 68 68 <bridgehead renderas="sect4">Sphinxcontrib-qthelp Dependencies</bridgehead> 69 70 <bridgehead renderas="sect5">Optional</bridgehead> 69 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 71 70 <para role="optional"> 72 <xref linkend="pytest"/> (for tests), 73 <ulink url="https://pypi.org/project/docutils-stubs/"> 74 docutils-stubs 75 </ulink>, 76 <ulink url="https://pypi.org/project/flake8/"> 77 flake8 78 </ulink>, and 79 <ulink url="https://pypi.org/project/mypy/"> 80 mypy 81 </ulink> 71 <xref linkend="pytest"/> 82 72 </para> 83 73 … … 92 82 93 83 <para> 94 This package does not come with a test suite.95 </para>96 97 <para>98 84 Now, as the <systemitem class="username">root</systemitem> user: 99 85 </para> 100 86 101 87 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user sphinxcontrib-qthelp</userinput></screen> 88 89 <para> 90 The installation can be tested with the following commands: 91 </para> 92 93 <screen remap="test"><userinput>sed -i 's/text()/read_&/' tests/test_qthelp.py && 94 pytest</userinput></screen> 95 96 <para> 97 The <command>sed ...</command> command is needed because of a change 98 in <application>Sphinx</application> API for versions greater than 99 5.0. 100 </para> 101 102 102 103 103 </sect3> -
general/prog/python-dependencies/sphinxcontrib-serializinghtml.xml
ref6402e r74434cc 68 68 <bridgehead renderas="sect4">Sphinxcontrib-serializinghtml Dependencies</bridgehead> 69 69 70 <bridgehead renderas="sect5">Optional </bridgehead>70 <bridgehead renderas="sect5">Optional (for testing)</bridgehead> 71 71 <para role="optional"> 72 <xref linkend="pytest"/> (for tests), 73 <ulink url="https://pypi.org/project/docutils-stubs/"> 74 docutils-stubs 75 </ulink>, 76 <ulink url="https://pypi.org/project/flake8/"> 77 flake8 78 </ulink>, and 79 <ulink url="https://pypi.org/project/mypy/"> 80 mypy 81 </ulink> 72 <xref linkend="pytest"/> 82 73 </para> 83 74 … … 92 83 93 84 <para> 94 This package does not come with a test suite.95 </para>96 97 <para>98 85 Now, as the <systemitem class="username">root</systemitem> user: 99 86 </para> 100 87 101 88 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user sphinxcontrib-serializinghtml</userinput></screen> 89 90 <para> 91 To test the installation, run <command>pytest</command>. 92 </para> 102 93 103 94 </sect3> -
general/prog/python-dependencies/urllib3.xml
ref6402e r74434cc 66 66 </itemizedlist> 67 67 68 <bridgehead renderas="sect4">Urllib3 Dependencies</bridgehead> 69 70 <bridgehead renderas="sect5">Optional (for tests)</bridgehead> 71 <para role="optional"> 72 <xref linkend="pytest"/>, 73 <ulink url="https://pypi.org/project/mock/">mock</ulink>, 74 <ulink url="https://pypi.org/project/PySocks/">PySocks</ulink>, 75 <ulink url="https://pypi.org/project/pytest-freezegun/">pytest-freezegun</ulink>, 76 <ulink url="https://pypi.org/project/pytest-timeout/">pytest-timeout</ulink>, 77 <ulink url="https://pypi.org/project/python-dateutil/">python-dateutil</ulink>, 78 <ulink url="https://pypi.org/project/tornado/">tornado</ulink>, and 79 <ulink url="https://pypi.org/project/trustme/">trustme</ulink> 80 </para> 81 68 82 </sect3> 69 83 … … 76 90 77 91 <para> 78 This package does not come with a test suite.79 </para>80 81 <para>82 92 Now, as the <systemitem class="username">root</systemitem> user: 83 93 </para> 84 94 85 95 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user urllib3</userinput></screen> 96 97 <para> 98 Assuming <xref linkend="pytest"/> is installed, but the other optional 99 dependencies are not, the installation can be tested with the following 100 commands: 101 </para> 102 103 <screen remap="test"><userinput>python3 -m venv --system-site-packages testenv && 104 source testenv/bin/activate && 105 pip3 install trustme \ 106 tornado \ 107 python-dateutil \ 108 mock \ 109 pysocks \ 110 pytest-timeout \ 111 pytest-freezegun && 112 python3 /usr/bin/pytest<!-- no && because of a possible error --> 113 deactivate</userinput></screen> 114 115 <para> 116 A few errors are known to occur. 117 </para> 86 118 87 119 </sect3> -
general/prog/python-modules/pytest.xml
ref6402e r74434cc 103 103 104 104 <para> 105 This package does not come with a test suite.106 </para>107 108 <para>109 105 Now, as the <systemitem class="username">root</systemitem> user: 110 106 </para> 111 107 112 108 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user pytest</userinput></screen> 109 110 <para> 111 The installation can be tested with the following commands: 112 </para> 113 114 <screen remap="test"><userinput>python3 -m venv --system-site-packages testenv && 115 source testenv/bin/activate && 116 pip3 install pytest[testing] && 117 python3 /usr/bin/pytest<!-- no && because of a possible error --> 118 deactivate</userinput></screen> 113 119 114 120 </sect3> -
general/prog/python-modules/sphinx.xml
ref6402e r74434cc 87 87 </para> 88 88 89 <bridgehead renderas="sect5">Optional </bridgehead>89 <bridgehead renderas="sect5">Optional (for tests)</bridgehead> 90 90 <para role="optional"> 91 <xref linkend="cython"/> (for tests), 92 <ulink url="https://pypi.org/project/docutils-stubs/"> 93 docutils-stubs 94 </ulink>, 95 <ulink url="https://pypi.org/project/flake8/"> 96 flake8 97 </ulink>, 98 <ulink url="https://pypi.org/project/flake8-comprehensions/"> 99 flake8-comprehensions 100 </ulink>, 101 <ulink url="https://pypi.org/project/flake8-bugbear/"> 102 flake8-bugbear 103 </ulink>, 104 <ulink url="https://pypi.org/project/flake8-simplify/"> 105 flake8-simplify 106 </ulink>, 107 <ulink url="https://pypi.org/project/html5lib/"> 108 html5lib 109 </ulink> (for tests), 110 <ulink url="https://pypi.org/project/isort/"> 111 isort 112 </ulink>, 113 <ulink url="https://pypi.org/project/mypy/"> 114 mypy 115 </ulink>, 116 <xref linkend="pytest"/> (for tests), 117 <ulink url="https://pypi.org/project/sphinx-lint/"> 118 sphinx-lint 119 </ulink>, 120 <ulink url="https://pypi.org/project/sphinxcontrib-websupport/"> 121 sphinxcontrib-websupport 122 </ulink> (for building documentation), 123 <ulink url="https://pypi.org/project/types-requests/"> 124 types-requests 125 </ulink>, and 126 <ulink url="https://pypi.org/project/types-typed-ast/"> 127 types-typed-ast 128 </ulink>, 91 <xref linkend="cython"/>, 92 <xref linkend="pytest"/>, and 93 <ulink url="https://pypi.org/project/html5lib/">html5lib</ulink> 129 94 </para> 130 95 … … 137 102 138 103 <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 139 140 <para>141 This package does not come with a test suite.142 </para>143 104 144 105 <para> … … 147 108 148 109 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user sphinx</userinput></screen> 110 111 <para> 112 Assuming <xref linkend="cython"/> and <xref linkend="pytest"/> are 113 installed, but the other optional dependency is not, the installation 114 can be tested with the following commands: 115 </para> 116 117 <screen remap="test"><userinput>python3 -m venv --system-site-packages testenv && 118 source testenv/bin/activate && 119 pip3 install html5lib && 120 python3 /usr/bin/pytest<!-- no && because of a possible error --> 121 deactivate</userinput></screen> 149 122 150 123 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.