Created attachment 238395 [details] Upgrade devel/py-proxmoxer to version 2.0.0 and add info to UPDATING Upgrade devel/py-proxmoxer to latest version 2.0.0 * Improvement (all): Convert testing framework to use pytest (John Hollowell) * Improvement (all): Remove Python 2.x support (minimum version of 3.7) (John Hollowell) * Improvement (all): Refactor code to Python 3 standards (John Hollowell) * Bugfix (all): Remove None values from request data and params (Kristian Heljas) * Addition (tools): Added Task tools (John Hollowell) * Bugfix (all): Allow specifying resource_id as 0 (John Bergvall) * Improvement (all): Remove ProxmoxResourceBase (John Hollowell) * Bugfix (all): Add platform detection before using shlex functions (Kevin Boyd) * Improvement (https): Added path_prefix argument which is appended after the root of the URL (before api2/) (John Hollowell)
According to UPDATING, USE_PYTHON+=pytest should be used then, "# do-test:" comment deleted (since pytest create a "do-test" himself) and maybe re-check TEST_DEPENDS list and test/evaluate if they are needed.
Created attachment 238530 [details] Upgrade devel/py-proxmoxer to version 2.0.0 and add info to UPDATING. Remove all tests until re-added upstream New patch to upgrade to version 2.0.0 Removed all test related config. Upstream doesn't package tests/ directory in pypi anymore (and hasn't for a long time). I'm working on getting tests added again to the pypi distribution, but until then, remove it and get the new version out.
What about changing Update: (...) Testing changed to pytest ==> Testing changed to pytest (work in progress) (...) So users know that test is being worked?
Created attachment 238624 [details] Reformatted patch and removed mention of pytest from UPDATING
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c8753eb9c736c8876a2c00aa200e6a2b5453986 commit 8c8753eb9c736c8876a2c00aa200e6a2b5453986 Author: Einar Bjarni Halldórsson <einar@isnic.is> AuthorDate: 2022-12-09 11:18:24 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2022-12-09 11:23:09 +0000 devel/py-proxmoxer: Update to 2.0.0 - add UPDATING notes - pytest testunit in progress ChangeLog: https://github.com/proxmoxer/proxmoxer/blob/develop/CHANGELOG.md PR: 268036 UPDATING | 23 +++++++++++++++++++++++ devel/py-proxmoxer/Makefile | 10 ++-------- devel/py-proxmoxer/distinfo | 6 +++--- 3 files changed, 28 insertions(+), 11 deletions(-)
Committed, thanks!