14
0

20 Commits

Author SHA256 Message Date
979fe544e3 Accepting request 1284236 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1284236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-portpicker?expand=0&rev=9
2025-06-10 07:08:26 +00:00
8351584ea5 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=20
2025-06-09 15:06:27 +00:00
d7e7c1bb86 Accepting request 1282295 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1282295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-portpicker?expand=0&rev=8
2025-06-03 15:56:08 +00:00
db410fce63 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=18
2025-06-03 11:58:53 +00:00
2f1c3ac7e8 Accepting request 1137821 from devel:languages:python
- 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/request/show/1137821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-portpicker?expand=0&rev=7
2024-01-10 20:52:08 +00:00
b80b5b0596 - 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
2024-01-09 21:51:54 +00:00
4a91bf81d9 Accepting request 990215 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/990215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-portpicker?expand=0&rev=6
2022-07-19 15:19:57 +00:00
47d0b787b9 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=14
2022-07-19 11:17:18 +00:00
651b19f2c1 Accepting request 967390 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/967390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-portpicker?expand=0&rev=5
2022-04-07 22:27:49 +00:00
d2cf427a0c Accepting request 967328 from home:pgajdos:python
- python-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/967328
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=12
2022-04-07 05:32:19 +00:00
a0c6485dfa Accepting request 946778 from devel:languages:python
- update to to 1.5.0:
  * python 3.10 support

OBS-URL: https://build.opensuse.org/request/show/946778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-portpicker?expand=0&rev=4
2022-01-16 22:18:19 +00:00
74d8a98425 - update to to 1.5.0:
* python 3.10 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=11
2022-01-16 12:46:05 +00:00
7f0f455103 Accepting request 807043 from devel:languages:python
- Don't use %python3_only command, but properly use alternatives.

OBS-URL: https://build.opensuse.org/request/show/807043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-portpicker?expand=0&rev=3
2020-05-19 12:49:19 +00:00
4280f502c5 - Don't use %python3_only command, but properly use alternatives.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=9
2020-05-18 20:33:50 +00:00
204ed826ea Accepting request 704702 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/704702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-portpicker?expand=0&rev=2
2019-05-22 13:41:09 +00:00
Tomáš Chvátal
c9a7750f8b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=7 2019-05-22 10:20:15 +00:00
Tomáš Chvátal
fe668137a8 Accepting request 704429 from home:pgajdos
Sure -- me too, however I overlooked ChangeLog.md

OBS-URL: https://build.opensuse.org/request/show/704429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=6
2019-05-22 10:19:45 +00:00
a6087fcda9 Accepting request 347021 from devel:languages:python
- New dependency for google-cloud-sdk

OBS-URL: https://build.opensuse.org/request/show/347021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-portpicker?expand=0&rev=1
2015-12-09 18:49:17 +00:00
4712d53149 - Include in SLE 12 (FATE#319904, bsc#954690)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=2
2015-12-01 14:27:39 +00:00
b1c8ec13bb Accepting request 344054 from home:rjschwei
- New dependency for google-cloud-sdk; generally useful

OBS-URL: https://build.opensuse.org/request/show/344054
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portpicker?expand=0&rev=1
2015-11-20 09:58:59 +00:00