[Bug 252978] devel/py-pid: Update to 3.0.4
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 24 14:34:14 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252978
Bug ID: 252978
Summary: devel/py-pid: Update to 3.0.4
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: mattias.lindvall at gmail.com
Created attachment 221877
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221877&action=edit
py-pid.diff
Changelog:
- Use APPDATA and HOME locations on Windows
- Add pid number to PidFileAlreadyRunningError
- Support contextlib.ContextDecorator (github #29)
- Use realpath when detecting pid (run) directories
- Windows support (see #18)
- Determine pid directory more extensively
- Use effective uid if available
- Rename SamePidFileNotSupported to PidFileConfigurationError
- Fix pidfile being removed by second process after failing to obtain the lock
This has side-effect that now automatic cleanup will not happen anymore if
`PidFile.create(...)` method did not finish properly. If you manually create
pidfiles you need to use `PidFile.close(cleanup=True)` or set the variable
`PidFile._need_cleanup = True` by hand.
- Fix atexit registration which was never done
- Using standard mock library for tests if available
https://github.com/trbs/pid/blob/master/CHANGELOG
portlint -C still looks fine. Make commands still work fine.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list