netcdf4-python fails to build with Python 3.13.0a1. This report is automated and not very verbose, but we'll try to get back here with details. + /usr/bin/python3 run_all.py Traceback (most recent call last): File "/builddir/build/BUILD/netcdf4-python-1.6.5rel/test/run_all.py", line 2, in <module> from netCDF4 import getlibversion,__hdf5libversion__,__netcdf4libversion__,__version__, Dataset File "/builddir/build/BUILD/netcdf4-python-1.6.5rel/build/lib.linux-x86_64-cpython-313/netCDF4/__init__.py", line 3, in <module> from ._netCDF4 import * File "src/netCDF4/_netCDF4.pyx", line 1263, in init netCDF4._netCDF4 ModuleNotFoundError: No module named 'certifi' https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06660889-netcdf4-python/ For all our attempts to build netcdf4-python with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/netcdf4-python/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
https://src.fedoraproject.org/rpms/netcdf/c/9b712ed0c1c3ab90bae52ca58de5f389c795d3dd?branch=rawhide updated netcdf from 4.9.0 to 4.9.1 The certifi import in netcdf4-python-1.6.5rel/src/netCDF4/_netCDF4.pyx is: ---------------------------------------------------------- IF HAS_NCRCSET: # available starting in version 4.9.1 import certifi ... ---------------------------------------------------------- Hence I strongly belive this is caused by the netcdf update and not Python 3.13.
Yes, https://koschei.fedoraproject.org/package/netcdf4-python confirms that.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.
FEDORA-2024-2c2752ca56 (netcdf4-python-1.6.5-3.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-2c2752ca56
FEDORA-2024-2c2752ca56 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-2c2752ca56` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-2c2752ca56 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-2c2752ca56 (netcdf4-python-1.6.5-3.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.