Up to [cvs.NetBSD.org] / pkgsrc / devel / py-flufl.lock
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-flufl.lock: fix PLIST for latest pdm Bump PKGREVISION.
python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs.
py-flufl.lock: and add another missing dependency. Ride bump
py-flufl.lock: add missing dependency on py-psutil Bump PKGREVISION.
py-flufl.lock: fixup wrong WHEEL_INFODIR
py-flufl.lock: update to version 7.1.1 7.1.1 (2022-09-03) Improvements to the GitLab CI integration. 7.1 (2022-08-27) Add support for Python 3.11. Update to pdm 1.3. Update all dependencies eagerly. 7.0 (2022-01-11) Fix spurious log messages when not breaking the lock. Use modern package management by adopting pdm and pyproject.toml, and dropping setup.py and setup.cfg. Build the docs with Python 3.8. Update to version 3.0 of Sybil. Adopt the Furo documentation theme. Add a favicon and logos to the published documentation. Use importlib.metadata.version() as a better way to get the package version number for the documentation. Drop Python 3.6 support. Update Windows GitLab runner to include Python 3.10. Update copyright years. 6.0 (2021-08-18) Added a default_timeout argument to the Lock constructor, which can be used in the context manager syntax as well. When a Lock uses a lock file that already exists and does not appear to be a lock file (i.e. because its contents are ill-formatted), do a better job of not clobbering that file. Improve some QA by re-adding diff-cover, Gitlab SAST during CI, and testing on Python 3.10 beta (except for Windows) The master branch is renamed to main. 5.1 (2021-05-28) Added a py.typed file to satisfy type checkers. 5.0.5 (2021-02-12) I blue it! 5.0.4 (2021-01-01) Update copyright years. Include test/__init__.py and docs/__init__.py. 5.0.3 (2020-10-22) Rename top-level tests/ directory to test/ 5.0.2 (2020-10-21) Minor housekeeping and cleanups. Add some missing licensing text. Don’t install the tests and docs directories at the top of site-packages Fix the Windows CI tests. Add an index to the documentation. 5.0.1 (2020-08-21) Reorganized docs and tests out of the code directory. Fix Read The Docs presentation. 5.0 (2020-08-20) Breaking change - The following methods have been removed: Lock.transfer_to(), Lock.take_possession(), Lock.disown(). These were crufty, undocumented APIs used in older versions of Mailman and were not sustainable. Added official support for Python 3.9. Improvements to the documentation, including a better API reference and a “theory of operation” page that gives more implementation technical details. Boosted test coverage to 100%. 4.0 (2020-06-30) API: Breaking change - In Lock.refresh() and Lock.unlock() the unconditionally flag is now a keyword-only argument. Breaking change - Removed Lock.__del__() and Lock.finalize(). It’s impossible to make __del__() work properly, and this is obsoleted by context manager protocol support anyway. Since finalize() only existed to help with __del__() and its functionality is identical to .unlock(unconditionally=True), this method is also removed. Added a Lock.expiration property. Added a Lock.lockfile property. Added a Lock.state property and the LockState enum. In all APIs, the lifetime parameter can now also be an integer number of seconds, in addition to the previously allowed datetime.timedelta. The lifetime property always gives you a datetime.timedelta. The API is now properly type annotated. Some library-defined exceptions support exception chaining. Behavior: Getting the repr() of a lock no longer refreshes it Other: Add support for Python 3.7 and 3.8; drop support for Python 3.4 and 3.5. We now run the test suite on both Linux and Windows. The LICENSE file is now included in the sdist tarball. API documentation is now built automatically. Numerous quality improvements and modernizations.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
Rewrite PYTHON_VERSIONS_ACCEPTED to PYTHON_VERSIONS_INCOMPATIBLE
More packages wave bye-bye to python34 and python35
extend PYTHON_VERSIONS_ for Python 3.7
devel/py-flufl.lock: Update to 3.2. 3.2 (2017-09-03) - Expose the host name used in the .details property, as a property. 3.1 (2017-07-15) - Expose the SEP as a public attribute. 3.0 (2017-05-31) - Drop Python 2.7, add Python 3.6. - Added Windows support. - Switch to the Apache License Version 2.0. - Use flufl.testing for nose2 and flake8 plugins. - Allow the claim file separator to be configurable, to support file systems where the vertical bar is problematic. Defaults to ^ on Windows and | everywhere else (unchanged).
Import flufl.lock 2.4.1 as devel/py-flufl.lock. The `flufl.lock` library provides an NFS-safe file-based locking algorithm influenced by the GNU/Linux `open(2)` manpage, under the description of the `O_EXCL` option.