You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Nathan Hartman <ha...@gmail.com> on 2019/11/17 06:42:52 UTC

1.14 Release Notes: New py3c Dependency

I just remembered that swig-py3 brings a new dependency: py3c.

The 1.14 release notes, under "Support for Python 3.x," should
document the new dependency. I think it should be in a yellow note
box:

[[[

New Dependency: py3c

Subversion's support for Python 3.x SWIG bindings introduces a new
optional dependency on the Python 3 Compatibility layer for C
extensions (py3c).

You need py3c if:
...

You don't need py3c if:
...

See the INSTALL file for a complete list of Subversion's dependencies.

]]]

And now we go down the rabbit hole of "under exactly what
circumstances do I or don't I need py3c?" :-)

Once this is sorted out, I'd like to put the same information in the
INSTALL file.

Oh, and I'd make "Python 3 Compatibility layer for C extensions
(py3c)" a hyperlink. Which begs the question: What is the canonical
link?

Nathan

Re: 1.14 Release Notes: New py3c Dependency

Posted by Nathan Hartman <ha...@gmail.com>.
On Sun, Nov 17, 2019 at 8:46 AM Daniel Shahaf <d....@daniel.shahaf.name> wrote:
> Nathan Hartman wrote on Sun, Nov 17, 2019 at 01:42:52 -0500:
>> The 1.14 release notes, under "Support for Python 3.x," should
>> document the new dependency.

Done in r1870062.

>> Once this is sorted out, I'd like to put the same information in the
>> INSTALL file.
>
> Yes please!

Done in 1870063.

As always, feedback welcome.

Nathan

P.S.,

> Or KISSBNQ_T_SS:
     ^^^^^^^^^^^^

That's a new one!! To me, anyway. :-)

Re: 1.14 Release Notes: New py3c Dependency

Posted by Branko Čibej <br...@apache.org>.
On 17.11.2019 14:46, Daniel Shahaf wrote:
> Nathan Hartman wrote on Sun, Nov 17, 2019 at 01:42:52 -0500:
>> The 1.14 release notes, under "Support for Python 3.x," should
>> document the new dependency. I think it should be in a yellow note
>> box:
> YMMV, but I'd make it a regular <h4/>, not a yellow note box.  We don't want to
> water down the yellow note boxes.  Furthermore, py3c is a header-only library,
> so it only affects _building_ the bindings, not using them.
>
>> [[[
>>
>> New Dependency: py3c
>>
>> Subversion's support for Python 3.x SWIG bindings introduces a new
>> optional dependency on the Python 3 Compatibility layer for C
>> extensions (py3c).
>>
>> You need py3c if:
>> ...
>>
>> You don't need py3c if:
>> ...
>>
>> See the INSTALL file for a complete list of Subversion's dependencies.
>>
>> ]]]
>>
>> And now we go down the rabbit hole of "under exactly what
>> circumstances do I or don't I need py3c?" :-)
> KISS:
>
> "You need py3c if you use the SWIG Python bindings, regardless of the version
> of Python."
>
> Or KISSBNQ_T_SS:
>
> "You need py3c iff you use the SWIG Python bindings, regardless of the version
> of Python."
>
> :P
>
>> Once this is sorted out, I'd like to put the same information in the
>> INSTALL file.
> Yes please!
>
>> Oh, and I'd make "Python 3 Compatibility layer for C extensions
>> (py3c)" a hyperlink. Which begs the question: What is the canonical
>> link?
> Probably this? —
>
> $ apt-cache showsrc py3c | grep Homepage
> Homepage: https://github.com/encukou/py3c


Yes. I added the actual download link to get-deps.sh.

-- Brane


Re: 1.14 Release Notes: New py3c Dependency

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Nathan Hartman wrote on Sun, Nov 17, 2019 at 01:42:52 -0500:
> The 1.14 release notes, under "Support for Python 3.x," should
> document the new dependency. I think it should be in a yellow note
> box:

YMMV, but I'd make it a regular <h4/>, not a yellow note box.  We don't want to
water down the yellow note boxes.  Furthermore, py3c is a header-only library,
so it only affects _building_ the bindings, not using them.

> [[[
> 
> New Dependency: py3c
> 
> Subversion's support for Python 3.x SWIG bindings introduces a new
> optional dependency on the Python 3 Compatibility layer for C
> extensions (py3c).
> 
> You need py3c if:
> ...
> 
> You don't need py3c if:
> ...
> 
> See the INSTALL file for a complete list of Subversion's dependencies.
> 
> ]]]
> 
> And now we go down the rabbit hole of "under exactly what
> circumstances do I or don't I need py3c?" :-)

KISS:

"You need py3c if you use the SWIG Python bindings, regardless of the version
of Python."

Or KISSBNQ_T_SS:

"You need py3c iff you use the SWIG Python bindings, regardless of the version
of Python."

:P

> Once this is sorted out, I'd like to put the same information in the
> INSTALL file.

Yes please!

> Oh, and I'd make "Python 3 Compatibility layer for C extensions
> (py3c)" a hyperlink. Which begs the question: What is the canonical
> link?

Probably this? —

$ apt-cache showsrc py3c | grep Homepage
Homepage: https://github.com/encukou/py3c
$ 

Cheers,

Daniel