Summary: | sysutils/py-docker: Adopt/Update to 6.0.1 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Norikatsu Shigemura <nork> | ||||||||||
Component: | Individual Port(s) | Assignee: | Nuno Teixeira <eduardo> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Some People | CC: | eduardo, nork | ||||||||||
Priority: | --- | ||||||||||||
Version: | Latest | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
URL: | https://github.com/docker/docker-py/compare/5.0.3...6.0.1 | ||||||||||||
Bug Depends on: | 255722 | ||||||||||||
Bug Blocks: | |||||||||||||
Attachments: |
|
Description
Norikatsu Shigemura
2022-09-28 15:51:18 UTC
Created attachment 237277 [details]
patch
OK, I'll handle this port.
Build fails at configure: --- ===> Configuring for py39-docker-6.0.0 /usr/local/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x86c253b50>: Failed to establish a new connection: [Errno 8] Name does not resolve')': /simple/setuptools-scm/ --- Any clues? Cheers Created attachment 237582 [details]
patch
Hummm... I found a implicit dependency on py-wheel in .github/workflows/release.yml.
So I add a build-dependency on py-wheel.
(In reply to Norikatsu Shigemura from comment #3) --- Configuring for py39-docker-6.0.0 /usr/local/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. --- I think this is related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722 I will put this PR depending on PEP 517. Hello, finally PEP-517 support have landing! Could you please send update to 6.0.1? I will start testing new install method :) Cheers Created attachment 239402 [details]
Update to 6.0.1 (pep517)
Checked pyproject.toml and add setuptools_acm (and wheel) to BUILD_DEPENDS
Could you please do a run test? It builds fine.
Cheers
> Hello, finally PEP-517 support have landing! WoW! That's good news! > Could you please do a run test? It builds fine. Sorry, in this time, I have no time to spend a run test. So if you want to commit, please go ahead. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8bd80665ccad01c95a2ffd078c8853c103901ca9 commit 8bd80665ccad01c95a2ffd078c8853c103901ca9 Author: Norikatsu Shigemura <nork@ninth-nine.com> AuthorDate: 2023-01-12 10:01:01 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-01-12 10:02:54 +0000 sysutils/py-docker: Adopt/Update to 6.0.1 - Submitter becomes maintainer - Switch to pep517 build ChangeLog: https://github.com/docker/docker-py/compare/5.0.3...6.0.1 PR: 266681 sysutils/py-docker/Makefile | 21 ++++++++++++--------- sysutils/py-docker/distinfo | 6 +++--- 2 files changed, 15 insertions(+), 12 deletions(-) - added build dependencies backends as described in pyproject.toml - updated run dependencies versions as described in requirements.txt - tests: I followed test-requirements.txt but I didn't make it to work, it seems that a network connection is needed (tested on a interactive poudriere jail) Please re-open this PR if you receive any kind of problems. Thanks for taking maintainership and updating port. Committed! |