◐ Shell
clean mode source ↗

Bump nix from 0.30.1 to 0.31.2 by dependabot[bot] · Pull Request #7468 · RustPython/RustPython

Conversation

@dependabot

Bumps nix from 0.30.1 to 0.31.2.

Changelog

Sourced from nix's changelog.

[0.31.2] - 2026-02-28

Added

  • Add WatchDescriptor::as_raw, to get libc id of WatchDescriptor. (#2718)
  • Added process::pthread_getthreadid_np() on FreeBSD. (#2725)
  • Added timerfd support on FreeBSD (#2728)

Fixed

  • The libc requirement is now 0.2.181, rather than pinned to 0.2.180. (#2744)

[0.31.1] - 2026-01-23

Added

  • termios: Add definition for IUCLC to supported platforms (#2702)
  • termios: Add definition for XCASE for supported platforms (#2703)

[0.31.0] - 2026-01-22

Added

  • Added the UDP GSO/GRO socket options and CMsgs on Android. This includes the following types:

    • UdpGsoSegment
    • UdpGroSegment
    • ControlMessage::UdpGsoSegments
    • ControlMessageOwned::UdpGroSegments

    (#2666)

  • Define errno EWOULDBLOCK as an alias of EAGAIN to match the AIX libc definition. (#2692)

  • Enable module ifaddrs on GNU Hurd (#2697)

  • Add termios OutputFlags::OFILL for Linux, Android, Aix, Cygwin, Fuchsia, Haiku, GNU/Hurd, Nto, Redox, Illumos, Solaris and Apple OSes. (#2701)

  • add sync() for cygwin (#2708)

Changed

... (truncated)

Commits

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@fanninpm

@fanninpm

We're adding a third version of nix with this PR.

  • mac_address v1.1.8 depends on nix v0.29.0
  • rustyline v17.0.2 depends on nix v0.30.1 (which is likely the cause of CI failing, as far as I can see, cc @ShaharNaveh who pinned it in Dependencies cleanup #6151)
  • rustpython-host_env, rustpython-stdlib, and rustpython-vm depend on nix v0.30 -> v0.31

TODO(me): get rustyline and nix into the same dependency grouping.

@ShaharNaveh

@ShaharNaveh

@fanninpm

@ShaharNaveh you may want to relax the version constraint for rustyline in Cargo.toml

@ShaharNaveh

It seems like dependabot doesn't recalculate the dependency group:/
We'll need to wait a bit for it to open a new PR with the new group.

I guess we can close this PR for now? or let dependabot to close it (if it will)? @fanninpm

@fanninpm

It seems like dependabot doesn't recalculate the dependency group:/ We'll need to wait a bit for it to open a new PR with the new group.

I guess we can close this PR for now? or let dependabot to close it (if it will)? @fanninpm

Dependabot will likely close this PR once #7672 gets merged.

@fanninpm

@fanninpm

@fanninpm

@ShaharNaveh try deleting the version constraint for rustyline completely.

@ShaharNaveh

@ShaharNaveh try deleting the version constraint for rustyline completely.

Like:

?

@ShaharNaveh

I'm pretty sure it will be best to close this PR and let dependabot to recalculate the dependency group

@fanninpm

I'm pretty sure it will be best to close this PR and let dependabot to recalculate the dependency group

If we close the PR, dependabot will ignore this version of nix.

@ShaharNaveh try deleting the version constraint for rustyline completely.

Like:

?

This is actually not allowed on crates.io. I think instead we should try a comparison requirement:

@fanninpm

@ShaharNaveh I think I found the answer: Dependabot is refusing to try the rustyline upgrade because the cooldown for major version bumps is 30 days.

@ShaharNaveh

@ShaharNaveh I think I found the answer: Dependabot is refusing to try the rustyline upgrade because the cooldown for major version bumps is 30 days.

Good catch!
Should we upgrade it now, or wait for the cooldown to expire?

@fanninpm

@ShaharNaveh I think I found the answer: Dependabot is refusing to try the rustyline upgrade because the cooldown for major version bumps is 30 days.

Good catch! Should we upgrade it now, or wait for the cooldown to expire?

I think we could stand to wait for the cooldown to expire.

@dependabot @github

@dependabot dependabot Bot deleted the dependabot/cargo/nix-0.31.2 branch

April 27, 2026 01:22

Labels

dependencies

Pull requests that update a dependency file

rust

Pull requests that update Rust code

2 participants

@fanninpm @ShaharNaveh