Public bug reported:

spherepack currently FTBFS with python3.12, with the following error:

 debian/rules build
py3versions: no X-Python3-Version in control file, using supported versions
dh  build  --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
 pybuild --configure -i python{version} -p 3.12
I: pybuild base:311: python3.12 setup.py config
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 11, in <module>
    from numpy.distutils.core import Extension
ModuleNotFoundError: No module named 'numpy.distutils'
E: pybuild pybuild:389: configure: plugin distutils failed with: exit code=1: 
python3.12 setup.py config
dh_auto_configure: error: pybuild --configure -i python{version} -p 3.12 
returned exit code 13
make: *** [debian/rules:8: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

The numpy.distutils module was deprecated a while ago and projects
should have migrated by now[1]. Since spherepack uses features like
fortran builds, migrating the current setup.py is not trivial. Making
matters worse, this package has not been updated in Debian for 3 years,
and I cannot find a definite home for upstream, because the current
homepage 404s[2]. I think we should just remove the package.

This package has a couple reverse deps, all from src:ncl:

nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:spherepack
Reverse-Recommends
==================
* science-meteorology           (for python3-sphere)
* science-meteorology-dev       (for libsphere-dev)

Reverse-Depends
===============
* libncarg-dev [amd64 arm64 armhf ppc64el s390x]
* libncarg0 [amd64 arm64 armhf ppc64el s390x]
* ncl-ncarg [amd64 arm64 armhf ppc64el s390x]

Packages without architectures listed are reverse-dependencies in:
amd64, arm64, armhf, i386, ppc64el, s390x

nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:spherepack -a source
Reverse-Build-Depends
=====================
* ncl                           (for libsphere-dev)

But, ncl itself has no reverse depends:

nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:ncl
Reverse-Recommends
==================
* science-meteorology           (for ncl-ncarg)
* science-meteorology-dev       (for libncarg-bin)

Packages without architectures listed are reverse-dependencies in: amd64, 
arm64, armhf, i386, ppc64el, s390x
nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:ncl -a source
No reverse dependencies found

So, once the Recommends: in science-meteorology are removed, we could
remove spherepack and ncl from the archive.

[1] https://numpy.org/doc/stable/reference/distutils_status_migration.html
[2] https://www2.cisl.ucar.edu/resources/legacy/spherepack

** Affects: debian-science (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ncl (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: spherepack (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Description changed:

  spherepack currently FTBFS with python3.12, with the following error:
  
-  debian/rules build
+  debian/rules build
  py3versions: no X-Python3-Version in control file, using supported versions
  dh  build  --buildsystem=pybuild
-    dh_update_autotools_config -O--buildsystem=pybuild
-    dh_autoreconf -O--buildsystem=pybuild
-    dh_auto_configure -O--buildsystem=pybuild
-       pybuild --configure -i python{version} -p 3.12
- I: pybuild base:311: python3.12 setup.py config 
+    dh_update_autotools_config -O--buildsystem=pybuild
+    dh_autoreconf -O--buildsystem=pybuild
+    dh_auto_configure -O--buildsystem=pybuild
+  pybuild --configure -i python{version} -p 3.12
+ I: pybuild base:311: python3.12 setup.py config
  Traceback (most recent call last):
-   File "/<<PKGBUILDDIR>>/setup.py", line 11, in <module>
-     from numpy.distutils.core import Extension
+   File "/<<PKGBUILDDIR>>/setup.py", line 11, in <module>
+     from numpy.distutils.core import Extension
  ModuleNotFoundError: No module named 'numpy.distutils'
- E: pybuild pybuild:389: configure: plugin distutils failed with: exit code=1: 
python3.12 setup.py config 
+ E: pybuild pybuild:389: configure: plugin distutils failed with: exit code=1: 
python3.12 setup.py config
  dh_auto_configure: error: pybuild --configure -i python{version} -p 3.12 
returned exit code 13
  make: *** [debian/rules:8: build] Error 25
  dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
  
  The numpy.distutils module was deprecated a while ago and projects
  should have migrated by now[1]. Since spherepack uses features like
  fortran builds, migrating the current setup.py is not trivial. Making
  matters worse, this package has not been updated in Debian for 3 years,
  and I cannot find a definite home for upstream, because the current
  homepage 404s[2]. I think we should just remove the package.
  
  This package has a couple reverse deps, all from src:ncl:
  
  nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:spherepack
  Reverse-Recommends
  ==================
  * science-meteorology           (for python3-sphere)
  * science-meteorology-dev       (for libsphere-dev)
  
  Reverse-Depends
  ===============
  * libncarg-dev [amd64 arm64 armhf ppc64el s390x]
  * libncarg0 [amd64 arm64 armhf ppc64el s390x]
  * ncl-ncarg [amd64 arm64 armhf ppc64el s390x]
  
  Packages without architectures listed are reverse-dependencies in:
  amd64, arm64, armhf, i386, ppc64el, s390x
  
  But, ncl itself has no reverse depends:
  
  nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:spherepack -a source
  Reverse-Build-Depends
  =====================
  * ncl                           (for libsphere-dev)
  
  nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:ncl
  Reverse-Recommends
  ==================
  * science-meteorology           (for ncl-ncarg)
  * science-meteorology-dev       (for libncarg-bin)
  
  Packages without architectures listed are reverse-dependencies in: amd64, 
arm64, armhf, i386, ppc64el, s390x
  nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:ncl -a source
  No reverse dependencies found
  
- So, once the Recommends: in science-meterology are removed, we could
+ So, once the Recommends: in science-meteorology are removed, we could
  remove spherepack and ncl from the archive.
  
  [1] https://numpy.org/doc/stable/reference/distutils_status_migration.html
  [2] https://www2.cisl.ucar.edu/resources/legacy/spherepack

** Also affects: ncl (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: debian-science (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  spherepack currently FTBFS with python3.12, with the following error:
  
   debian/rules build
  py3versions: no X-Python3-Version in control file, using supported versions
  dh  build  --buildsystem=pybuild
     dh_update_autotools_config -O--buildsystem=pybuild
     dh_autoreconf -O--buildsystem=pybuild
     dh_auto_configure -O--buildsystem=pybuild
   pybuild --configure -i python{version} -p 3.12
  I: pybuild base:311: python3.12 setup.py config
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/setup.py", line 11, in <module>
      from numpy.distutils.core import Extension
  ModuleNotFoundError: No module named 'numpy.distutils'
  E: pybuild pybuild:389: configure: plugin distutils failed with: exit code=1: 
python3.12 setup.py config
  dh_auto_configure: error: pybuild --configure -i python{version} -p 3.12 
returned exit code 13
  make: *** [debian/rules:8: build] Error 25
  dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
  
  The numpy.distutils module was deprecated a while ago and projects
  should have migrated by now[1]. Since spherepack uses features like
  fortran builds, migrating the current setup.py is not trivial. Making
  matters worse, this package has not been updated in Debian for 3 years,
  and I cannot find a definite home for upstream, because the current
  homepage 404s[2]. I think we should just remove the package.
  
  This package has a couple reverse deps, all from src:ncl:
  
  nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:spherepack
  Reverse-Recommends
  ==================
  * science-meteorology           (for python3-sphere)
  * science-meteorology-dev       (for libsphere-dev)
  
  Reverse-Depends
  ===============
  * libncarg-dev [amd64 arm64 armhf ppc64el s390x]
  * libncarg0 [amd64 arm64 armhf ppc64el s390x]
  * ncl-ncarg [amd64 arm64 armhf ppc64el s390x]
  
  Packages without architectures listed are reverse-dependencies in:
  amd64, arm64, armhf, i386, ppc64el, s390x
  
- But, ncl itself has no reverse depends:
- 
  nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:spherepack -a source
  Reverse-Build-Depends
  =====================
  * ncl                           (for libsphere-dev)
+ 
+ But, ncl itself has no reverse depends:
  
  nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:ncl
  Reverse-Recommends
  ==================
  * science-meteorology           (for ncl-ncarg)
  * science-meteorology-dev       (for libncarg-bin)
  
  Packages without architectures listed are reverse-dependencies in: amd64, 
arm64, armhf, i386, ppc64el, s390x
  nr@six:~/u/p/t/spherepack$ reverse-depends -r noble src:ncl -a source
  No reverse dependencies found
  
  So, once the Recommends: in science-meteorology are removed, we could
  remove spherepack and ncl from the archive.
  
  [1] https://numpy.org/doc/stable/reference/distutils_status_migration.html
  [2] https://www2.cisl.ucar.edu/resources/legacy/spherepack

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060735

Title:
  please remove spherepack and ncl from the archive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-science/+bug/2060735/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to