Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python310-apipkg | Distribution: openSUSE:Factory:zSystems |
Version: 3.0.2 | Vendor: openSUSE |
Release: 1.4 | Build date: Mon Oct 2 12:03:48 2023 |
Group: Development/Languages/Python | Build host: reproducible |
Size: 31753 | Source RPM: python-apipkg-3.0.2-1.4.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/pytest-dev/apipkg/ | |
Summary: Namespace control and lazy-import mechanism |
With apipkg you can control the exported namespace of a python package and greatly reduce the number of imports for your users. It is a small pure python module that works on CPython 2.7 and 3.4+, Jython and PyPy. It co-operates well with Python's help() system, custom importers (PEP302) and common command line completion tools. Usage is very simple: you can require 'apipkg' as a dependency or you can copy paste the ~200 lines of code into your project.
MIT
* Mon Oct 02 2023 Dirk Müller <[email protected]> - update to 3.0.2: * Fix import path to make it vendoring-friendly * remove py reference from tests - switch to gh tarball to get tests again * Fri Apr 21 2023 Dirk Müller <[email protected]> - add sle15_python_module_pythons (jsc#PED-68) * Thu Apr 13 2023 Matej Cepl <[email protected]> - Make calling of %{sle15modernpython} optional. * Mon Feb 27 2023 Matej Cepl <[email protected]> - Don't use fdupes -s, it hurts. * Wed Nov 30 2022 Daniel Garcia <[email protected]> - Generate the _version.py file in %prep to remove completely hatch-vcs from pyproject to make it build and run tests correctly * Wed Nov 30 2022 Daniel Garcia <[email protected]> - Remove python-hatch-vcs dependency * Wed Nov 30 2022 Daniel Garcia <[email protected]> - Remove python-py dependency * Tue Nov 29 2022 Daniel Garcia <[email protected]> - Remove python_module macro definition - Update to 3.0.1: * restore tox.ini to support tox --current-env based packaging - 3.0.0 * add support for python 3.11 and drop dead pythons (thanks hukgo) * migrate to hatch * split up __init__.py * add some type annotations - 2.1.1 * drop the python 3.4 support marker, 2.1.0 broke it 2.1.0 will be yanked after release * Sun Oct 17 2021 Ben Greiner <[email protected]> - Update to v2.1.0 * fix race condition for import of modules using apipkg.initpkg in Python 3.3+ by updating existing modules in-place rather than replacing in sys.modules with an apipkg.ApiModule instances. This race condition exists for import statements (and __import__) in Python 3.3+ where sys.modules is checked before obtaining an import lock, and for importlib.import_module in Python 3.11+ for the same reason. - Release 2.0.1 * fix race conditions for attribute creation - Release 2.0.0 * also transfer __spec__ attribute * make py.test hack more specific to avoid hiding real errors * switch from Travis CI to GitHub Actions * modernize package build * reformat code with black - Drop pytest4.patch * Tue Dec 08 2020 Benjamin Greiner <[email protected]> - The now broken apicycle requires apipkg to be importable from elsewhere -- use src dir.
/usr/lib/python3.10/site-packages/apipkg /usr/lib/python3.10/site-packages/apipkg-3.0.2.dist-info /usr/lib/python3.10/site-packages/apipkg-3.0.2.dist-info/INSTALLER /usr/lib/python3.10/site-packages/apipkg-3.0.2.dist-info/METADATA /usr/lib/python3.10/site-packages/apipkg-3.0.2.dist-info/RECORD /usr/lib/python3.10/site-packages/apipkg-3.0.2.dist-info/REQUESTED /usr/lib/python3.10/site-packages/apipkg-3.0.2.dist-info/WHEEL /usr/lib/python3.10/site-packages/apipkg-3.0.2.dist-info/licenses /usr/lib/python3.10/site-packages/apipkg-3.0.2.dist-info/licenses/LICENSE /usr/lib/python3.10/site-packages/apipkg/__init__.py /usr/lib/python3.10/site-packages/apipkg/__pycache__ /usr/lib/python3.10/site-packages/apipkg/__pycache__/__init__.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/apipkg/__pycache__/__init__.cpython-310.pyc /usr/lib/python3.10/site-packages/apipkg/__pycache__/_alias_module.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/apipkg/__pycache__/_alias_module.cpython-310.pyc /usr/lib/python3.10/site-packages/apipkg/__pycache__/_importing.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/apipkg/__pycache__/_importing.cpython-310.pyc /usr/lib/python3.10/site-packages/apipkg/__pycache__/_module.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/apipkg/__pycache__/_module.cpython-310.pyc /usr/lib/python3.10/site-packages/apipkg/__pycache__/_syncronized.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/apipkg/__pycache__/_syncronized.cpython-310.pyc /usr/lib/python3.10/site-packages/apipkg/__pycache__/_version.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/apipkg/__pycache__/_version.cpython-310.pyc /usr/lib/python3.10/site-packages/apipkg/_alias_module.py /usr/lib/python3.10/site-packages/apipkg/_importing.py /usr/lib/python3.10/site-packages/apipkg/_module.py /usr/lib/python3.10/site-packages/apipkg/_syncronized.py /usr/lib/python3.10/site-packages/apipkg/_version.py /usr/lib/python3.10/site-packages/apipkg/py.typed /usr/share/doc/packages/python310-apipkg /usr/share/doc/packages/python310-apipkg/README.rst /usr/share/licenses/python310-apipkg /usr/share/licenses/python310-apipkg/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Dec 3 23:45:09 2024