Re: Upgrading py-poetry-core and pep517

2022-09-13 Thread David Gilman
I confirm what you're seeing: a system with just py-poetry-core can successfully upgrade py-poetry-core, but a system with the whole poetry suite is failing when doing a `port upgrade poetry` and it goes to build py-poetry-core. Furthermore, I was able to reproduce this in a venv with

Re: Upgrading py-poetry-core and pep517

2022-09-13 Thread Joshua Root
I've tried this now myself and I can't reproduce the issue. It seems poetry-core at least has no problem building with an older version of itself installed, though this doesn't rule out some interaction with the other ports being updated in the PR. % port installed py310-poetry-core The

Re: Upgrading py-poetry-core and pep517

2022-09-12 Thread David Gilman
So I note that if I drop the --no-isolation from the `python -m build --wheel` that the python portgroup does I get a wheel built successfully. I imagine the --no-isolation is there so normal packages could take advantage of the MacPorts-provided build backend packages. Maybe it is worth extending

Re: Upgrading py-poetry-core and pep517

2022-09-12 Thread Joshua Root
On 2022-9-12 06:22 , David Gilman wrote: Log attached. It is a pure upgrade started with "port upgrade poetry". The error in the log is actually the pep517 module complaining about the backend: :info:build Traceback (most recent call last): :info:build File

Re: Upgrading py-poetry-core and pep517

2022-09-11 Thread David Gilman
Log attached. It is a pure upgrade started with "port upgrade poetry". (to the mailing list this time) On Sun, Sep 11, 2022 at 2:20 PM Joshua Root wrote: > > On 2022-9-12 03:40 , David Gilman wrote: > > There's a new release of poetry and py-poetry-core and poetry. I have > > the PR ready at

Re: Upgrading py-poetry-core and pep517

2022-09-11 Thread Ryan Schmidt
On Sep 11, 2022, at 12:40, David Gilman wrote: > > There's a new release of poetry and py-poetry-core and poetry. I have > the PR ready at https://github.com/macports/macports-ports/pull/16088 > . However, I am unable to get it to cleanly upgrade from an older > version of py-poetry-core. > > I

Re: Upgrading py-poetry-core and pep517

2022-09-11 Thread Joshua Root
On 2022-9-12 03:40 , David Gilman wrote: There's a new release of poetry and py-poetry-core and poetry. I have the PR ready at https://github.com/macports/macports-ports/pull/16088 . However, I am unable to get it to cleanly upgrade from an older version of py-poetry-core. Can you share a log?

Upgrading py-poetry-core and pep517

2022-09-11 Thread David Gilman
There's a new release of poetry and py-poetry-core and poetry. I have the PR ready at https://github.com/macports/macports-ports/pull/16088 . However, I am unable to get it to cleanly upgrade from an older version of py-poetry-core. I think the issue has to do with the pep517 machinery