On Mon, Mar 21, 2022 at 9:18 PM Jun Omae <jun6...@gmail.com> wrote:
>
> On Tue, Mar 22, 2022 at 9:10 AM Mark Phippard <markp...@gmail.com> wrote:
> >
> > This seems to be the main thing I am stuck on. I used Debian Buster so
> > that it would just be Python 2.7. It also occurred to me I was seeing
> > this using the release tarball so SWIG would not even be involved any
> > more .. right? The bindings were generated when the last RM generated
> > the tarball.
> >
> > Does this ring any bells to anyone about why this is invalid?
> >
> >   File 
> > "/home/svnrm/subversion-1.14.2/subversion/bindings/swig/python/libsvn/core.py",
> > line 144
> >     def apr_initialize() -> "apr_status_t":
> >                                   ^
> > SyntaxError: invalid syntax
> >
> > I have tried searching for "->" but not coming up with anything. It
> > does seem vaguely familiar but I think I am remembering the similar
> > Ruby operator that was deprecated. It seems like we are missing
> > something obvious else this would have shown up when people signed the
> > last release.
> >
> > Mark
>
> The swig-py for Python 2 depends "swig -python -classic". However,
> -classic option is no longer supported since SWIG 4. SWIG 3 should be
> used for 1.14.x releases to support Python 2.7 (swig3.0 package is
> able to use in Debian Buster).

I went looking for this information in
subversion/bindings/swig/INSTALL and didn't see it the first time
around, but it turns out it was there. Hopefully r1899118 and r1899120
make things a bit more clear...

Nathan

Reply via email to