Overview

Request 1137821 accepted

- 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.

Request History
Dirk Mueller's avatar

dirkmueller created request

- 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.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot added openSUSE:Factory:Staging:adi:5 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:5"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:5"


Saul Goodman's avatar

licensedigger accepted review

The legal review is accepted preliminary. The package may require actions later on.


Dominique Leuenberger's avatar

dimstar accepted review

ok


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:adi:5 got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:adi:5 got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:adi:5 got accepted.

openSUSE Build Service is sponsored by