[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1118319: marked as done (safetensors: FTBFS: error: failed to select a version for the requirement `pyo3 = "^0.25.1"`)



Your message dated Tue, 18 Nov 2025 00:20:49 +0000
with message-id <E1vL9Sj-001qbg-0G@fasolo.debian.org>
and subject line Bug#1118319: fixed in safetensors 0.6.2-1.1
has caused the Debian Bug report #1118319,
regarding safetensors: FTBFS: error: failed to select a version for the requirement `pyo3 = "^0.25.1"`
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1118319: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118319
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:safetensors
Version: 0.6.2-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:safetensors, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild --sourcedirectory=bindings/python --with python3
   debian/rules execute_before_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f -rfv .cargo
mv bindings/python/Cargo.lock.bak bindings/python/Cargo.lock
mv: cannot stat 'bindings/python/Cargo.lock.bak': No such file or directory
make[1]: [debian/rules:11: execute_before_dh_auto_clean] Error 1 (ignored)
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_clean -O--buildsystem=pybuild -O--sourcedirectory=bindings/python
   dh_autoreconf_clean -O--buildsystem=pybuild -O--sourcedirectory=bindings/python
   dh_clean -O--buildsystem=pybuild -O--sourcedirectory=bindings/python
 debian/rules binary
dh binary --buildsystem=pybuild --sourcedirectory=bindings/python --with python3
   dh_update_autotools_config -O--buildsystem=pybuild -O--sourcedirectory=bindings/python
   dh_autoreconf -O--buildsystem=pybuild -O--sourcedirectory=bindings/python
   debian/rules execute_before_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -pv .cargo
mkdir: created directory '.cargo'
cp debian/cargo-config.toml .cargo/config.toml
mv bindings/python/Cargo.lock bindings/python/Cargo.lock.bak
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_configure -O--buildsystem=pybuild -O--sourcedirectory=bindings/python
   dh_auto_build -O--buildsystem=pybuild -O--sourcedirectory=bindings/python
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_safetensors  
* Building wheel...
Running `maturin pep517 build-wheel -i /usr/bin/python3.13 --compatibility off`
error: failed to select a version for the requirement `pyo3 = "^0.25.1"`
candidate versions found which didn't match: 0.26.0
location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`)
required by package `safetensors-python v0.6.2 (/<<PKGBUILDDIR>>/bindings/python)`
perhaps a crate was updated and forgotten to be re-vendored?
As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without `--offline`.
ð??¥ maturin failed
  Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
  Caused by: `cargo metadata` exited with an error: 
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3.13', '--compatibility', 'off'] returned non-zero exit status 1

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_safetensors  
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 --dir bindings/python returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: safetensors
Source-Version: 0.6.2-1.1
Done: Adrian Bunk <bunk@debian.org>

We believe that the bug you reported is fixed in the latest version of
safetensors, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1118319@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated safetensors package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 15 Nov 2025 20:38:15 +0200
Source: safetensors
Architecture: source
Version: 0.6.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1118319
Changes:
 safetensors (0.6.2-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Update rust-dep-version.patch for pyo3 0.26. (Closes: #1118319)
Checksums-Sha1:
 b863bc3f68cce0d1cf2a614c250dab6fa677c6e8 2291 safetensors_0.6.2-1.1.dsc
 c286d4c816eba80f07b63f8a4b6ec0be6a3e9518 2732 safetensors_0.6.2-1.1.debian.tar.xz
Checksums-Sha256:
 4e15a12d2e200cc789371d91cf302341bcaf1e1ab152a3f5bd73a7dbc9d4645d 2291 safetensors_0.6.2-1.1.dsc
 1c3d07acd9cdad1ba95aa4874671171e3949767927de4d0d9df626dc6e102071 2732 safetensors_0.6.2-1.1.debian.tar.xz
Files:
 0dd1032b363d3e2ae570c02acc704e4f 2291 python optional safetensors_0.6.2-1.1.dsc
 84ce6245834e653826eea2d6652c0480 2732 python optional safetensors_0.6.2-1.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmkZD2IACgkQiNJCh6LY
mLG9QBAAleL8LyxnKL5Ten7XH6KwvY1zhQJ4fdhxu5avYOlpwYS4rZFgsYdOkuyX
9yhaymd8hCw9q3vzB0wSSLLV4zjMq8grMfdAkz5riKUiJgUhwPdOJEgrlKV+v4Nu
tleIfVqkNkVrY/iDGdUjGunx25AzAM+WDWdS3CbyNuISM427XzzW/gQp9qJhLxtx
ygr4WSHCoPJGQgtSC7bTlByyGdJdT47OIZSuZvvCvjZPPXBdvdymfLoR3OP8zOOT
XG4LR168HeDn9WLuPHAJ77sCj6T68PNkuSUQaa18zIU8e0BHB8VGAwqwKzq8Avr/
ZEUAl8A/h+s12Jj1SkPyGP/8djNse5l+4HbhZ9+CXdSVAr5Hg4zk9rcUlbku5KZP
VZcUqiad+DB7d87ipZKBHQZ1r3onfhOARuJ/kq/erUGnh+w0WMJez66UhvOVAYzs
eRPw4Z6sMjT7Lg1NEUSZ1N2bP3bcGJcNIBu82wI49xfdrA9t+V+X+KTwTRHOixGE
U3h/AMC1R5vHUSl1KWpLQN4kZ6WCmshn5GTYVtFRZMlooIhp/fkJw8FWJ+UHv83+
aHga2yqoHEFp4dsJIwRzeWDY2L3pQL46QmircAKG15IFgmy5LWeGZDIaUWO5Ph2a
gvwttks3Db91yAjII6ACCekHXVmiG++8N80Iz0trm++eVvFVhoo=
=LcyM
-----END PGP SIGNATURE-----

Attachment: pgp8O5OPcfxX6.pgp
Description: PGP signature


--- End Message ---

Reply to: