Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python310-portpicker | Distribution: openSUSE Tumbleweed |
Version: 1.6.0 | Vendor: openSUSE |
Release: 1.5 | Build date: Tue Jan 9 22:49:51 2024 |
Group: Development/Libraries/Python | Build host: reproducible |
Size: 62935 | Source RPM: python-portpicker-1.6.0-1.5.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/google/python_portpicker | |
Summary: A library to choose unique available network ports |
Portpicker provides an API to find and return an available network port for an application to bind to. Ideally suited for use from unittests or for test harnesses that launch local servers.
Apache-2.0
* Tue Jan 09 2024 Dirk Müller <dmueller@suse.com> - update to 1.6.0: * Resolve an internal source of potential flakiness on the bind/close port * checks when used in active environments by calling `.shutdown()` before `.close()`. * Add `-h` and `--help` text to the command line tool. * The command line interface now defaults to associating the returned port with its parent process PID (usually the calling script) when no argument was given as that makes more sense. * When portpicker is used as a command line tool from a script, if a port is chosen without a portserver it can now be kept bound to a socket by a child process for a user specified timeout. When successful, this helps minimize race conditions as subsequent portpicker CLI invocations within the timeout window cannot choose the same port. * Some pylint based refactorings to portpicker and portpicker\_test. * Drop 3.6 from our CI test matrix and metadata. It probably still works there, but expect our unittests to include 3.7-ism's in the future. We'll *attempt* to avoid modern constructs in portpicker.py itself but zero guarantees. Using an old Python? Use an old portpicker. * Tue Jul 19 2022 Dirk Müller <dmueller@suse.com> - update to 1.5.2: * Do not re-pick a known used (not-yet-returned) port when running stand alone without a portserver. * When not using a portserver *(you really should)*, try the `bind(0)` approach before hunting for random unused ports. More reliable per * Wed Apr 06 2022 pgajdos@suse.com - python-mock is not required for build * Sun Jan 16 2022 Dirk Müller <dmueller@suse.com> - update to to 1.5.0: * python 3.10 support * Mon May 18 2020 Matej Cepl <mcepl@suse.com> - Don't use %python3_only command, but properly use alternatives. * Mon May 20 2019 pgajdos@suse.com - version update to 1.3.1 * Fix a race condition in `pick_unused_port()` involving the free ports set. * Adds an optional `portserver_address` parameter to `pick_unused_port()` so that callers can specify their own regardless of `os.environ`. * `pick_unused_port()` now raises `NoFreePortFoundError` when no available port could be found rather than spinning in a loop trying forever. * Fall back to `socket.AF_INET` when `socket.AF_UNIX` support is not available to communicate with a portserver. * Introduced `add_reserved_port()` and `return_port()` APIs to allow ports to be recycled and allow users to bring ports of their own. * Changed default port range to 15000-24999 to avoid ephemeral ports. * Portserver bugfix. - convert to single spec - run test * Tue Dec 01 2015 rjschwei@suse.com - Include in SLE 12 (FATE#319904, bsc#954690) * Thu Nov 12 2015 rjschwei@suse.com - Initial build + Version 1.1.0
/etc/alternatives/portserver.py /usr/bin/portserver.py /usr/bin/portserver.py-3.10 /usr/lib/python3.10/site-packages/__pycache__ /usr/lib/python3.10/site-packages/__pycache__/portpicker.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/__pycache__/portpicker.cpython-310.pyc /usr/lib/python3.10/site-packages/portpicker-1.6.0-py3.10.egg-info /usr/lib/python3.10/site-packages/portpicker-1.6.0-py3.10.egg-info/PKG-INFO /usr/lib/python3.10/site-packages/portpicker-1.6.0-py3.10.egg-info/SOURCES.txt /usr/lib/python3.10/site-packages/portpicker-1.6.0-py3.10.egg-info/dependency_links.txt /usr/lib/python3.10/site-packages/portpicker-1.6.0-py3.10.egg-info/requires.txt /usr/lib/python3.10/site-packages/portpicker-1.6.0-py3.10.egg-info/top_level.txt /usr/lib/python3.10/site-packages/portpicker.py /usr/share/doc/packages/python310-portpicker /usr/share/doc/packages/python310-portpicker/CONTRIBUTING.md /usr/share/doc/packages/python310-portpicker/README.md /usr/share/licenses/python310-portpicker /usr/share/licenses/python310-portpicker/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Nov 19 00:35:30 2024