forked from pool/python-portpicker
- 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=16
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c55683ad725f5c00a41bc7db0225223e8be024b1fa564d039ed3390e4fd48fb3
|
||||
size 21621
|
3
portpicker-1.6.0.tar.gz
Normal file
3
portpicker-1.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bd507fd6f96f65ee02781f2e674e9dc6c99bbfa6e3c39992e3916204c9d431fa
|
||||
size 25676
|
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 9 21:49:51 UTC 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 11:16:35 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-portpicker
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-portpicker
|
||||
Version: 1.5.2
|
||||
Version: 1.6.0
|
||||
Release: 0
|
||||
Summary: A library to choose unique available network ports
|
||||
License: Apache-2.0
|
||||
@@ -27,12 +27,11 @@ URL: https://github.com/google/python_portpicker
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/portpicker/portpicker-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: net-tools-deprecated
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user