how to add a python package to python39

Marius Schamschula lists at schamschula.com
Thu Oct 14 12:47:53 UTC 2021


Franco,

Yes, you would need to add 39.

As py-matplotlib-basemap has no maintainer, this has apparently been missed.

However, when trying to build py39-matplotlib-basemap you will see several errors:

error: no member named 'tp_print' in 'struct _typeobject’

This is no longer supported in Python 3.9. There is no easy workaround to this.

Marius
--
Marius Schamschula




> On Oct 14, 2021, at 7:31 AM, VACCARI FRANCO <vaccari at units.it> wrote:
> 
> Hi,
> 
> I’m going to experiment with python on a new M1 MacMini and installed python39 and most of the packages needed by instaseis
> 
> <https://instaseis.net>
> 
> I’m getting in trouble with matplotlib-basemap. I see several versions listed but not the one for python39. If I look at the version for python38
> 
> port file py38-matplotlib-basemap 
> 
> points me to /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python/py-matplotlib-basemap/Portfile
> 
> and inside that I see this entry
> 
> python.versions     27 35 36 37 38
> 
> How to add compatibility with python39 to it? It looks like it’s not just a matter of adding 39 there... How could I create the py39matplotlib-basemap package?
> 
> Sorry for what is very likely a dumb question...
> 
> Franco

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20211014/6b17aaf8/attachment.htm>


More information about the macports-users mailing list