Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python311-apipkg | Distribution: SUSE Linux Framework One |
Version: 3.0.2 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: slfo.1.1.1 | Build date: Mon Oct 2 12:03:48 2023 |
Group: Development/Languages/Python | Build host: reproducible |
Size: 37919 | Source RPM: python-apipkg-3.0.2-slfo.1.1.1.src.rpm |
Packager: https://www.suse.com/ | |
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 dmueller@suse.com - 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 dmueller@suse.com - add sle15_python_module_pythons (jsc#PED-68) * Thu Apr 13 2023 mcepl@suse.com - Make calling of %{sle15modernpython} optional. * Mon Feb 27 2023 mcepl@suse.com - Don't use fdupes -s, it hurts. * Wed Nov 30 2022 daniel.garcia@suse.com - 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@suse.com - Remove python-hatch-vcs dependency * Wed Nov 30 2022 daniel.garcia@suse.com - Remove python-py dependency * Tue Nov 29 2022 daniel.garcia@suse.com - 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 code@bnavigator.de - 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 code@bnavigator.de - The now broken apicycle requires apipkg to be importable from elsewhere -- use src dir. * Sun Dec 06 2020 mcepl@suse.com - Split package into multibuild, to avoid apipkg -> pytest -> py -> apipkg cycle. * Fri Jul 19 2019 mimi.vx@gmail.com - refresh pytest4.patch for pytest5 * Tue Feb 12 2019 tchvatal@suse.com - Add patch to fix build with pytest newer than 4: * pytest4.patch * Sun Aug 05 2018 mimi.vx@gmail.com - update to 1.5 - fixed dependencies * switch to setuptools_scm * avoid dict iteration (fixes issue on python3) * preserve __package__ - ths gets us better pep 302 compliance * Thu Apr 27 2017 aloisio@gmx.com - Fixed source URL * Fri Apr 21 2017 aloisio@gmx.com - Converted to single-spec - Enabled tests * Fri Mar 11 2016 tbechtold@suse.com - update to 1.4: - revert the automated version gathering - fix issue2 - adapt tests on Jython - handle jython __pkgpath__ missabstraction when running python from jar files - alias modules pointing to unimportable modules will return None for all their attributes instead of raising ImportError. This addresses python3.4 where any call to getframeinfo() can choke on sys.modules contents if pytest is not installed (because py.test.* imports it). - introduce apipkg.distribution_version(name) as helper to obtain the current version number of a package from install metadata its used by default with the package name - add an eagerloading option and eagerload automatically if bpython is used (workaround for their monkeypatching) - Switch to use .tar.gz sdist instead of zip - Install LICENSE - BuildRequires python-setuptools * Tue Nov 20 2012 saschpe@suse.de - Initial version
/usr/lib/python3.11/site-packages/apipkg /usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info /usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/INSTALLER /usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/METADATA /usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/RECORD /usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/REQUESTED /usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/WHEEL /usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/licenses /usr/lib/python3.11/site-packages/apipkg-3.0.2.dist-info/licenses/LICENSE /usr/lib/python3.11/site-packages/apipkg/__init__.py /usr/lib/python3.11/site-packages/apipkg/__pycache__ /usr/lib/python3.11/site-packages/apipkg/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/apipkg/__pycache__/__init__.cpython-311.pyc /usr/lib/python3.11/site-packages/apipkg/__pycache__/_alias_module.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/apipkg/__pycache__/_alias_module.cpython-311.pyc /usr/lib/python3.11/site-packages/apipkg/__pycache__/_importing.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/apipkg/__pycache__/_importing.cpython-311.pyc /usr/lib/python3.11/site-packages/apipkg/__pycache__/_module.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/apipkg/__pycache__/_module.cpython-311.pyc /usr/lib/python3.11/site-packages/apipkg/__pycache__/_syncronized.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/apipkg/__pycache__/_syncronized.cpython-311.pyc /usr/lib/python3.11/site-packages/apipkg/__pycache__/_version.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/apipkg/__pycache__/_version.cpython-311.pyc /usr/lib/python3.11/site-packages/apipkg/_alias_module.py /usr/lib/python3.11/site-packages/apipkg/_importing.py /usr/lib/python3.11/site-packages/apipkg/_module.py /usr/lib/python3.11/site-packages/apipkg/_syncronized.py /usr/lib/python3.11/site-packages/apipkg/_version.py /usr/lib/python3.11/site-packages/apipkg/py.typed /usr/share/doc/packages/python311-apipkg /usr/share/doc/packages/python311-apipkg/README.rst /usr/share/licenses/python311-apipkg /usr/share/licenses/python311-apipkg/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Feb 7 23:57:44 2025