Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 26, 2026

The nix 0.30.1 → 0.31.1 bump introduced a type mismatch in readline.rs due to rustyline v17.0.2 depending on nix 0.30.1 while RustPython uses 0.31.1 directly.

Changes

  • Use rustyline from git (commit 7bbd279) which includes nix 0.31.1 support
    • Temporary until rustyline publishes a new release
    • Commit verified to contain nix 0.31 upgrade (Jan 23, 2026)
    • Added TODO comment for future maintainers

Type Conflict

// readline.rs line 149 - rustyline returns nix::errno::Errno from 0.30.1
Err(ReadlineError::Errno(num)) => ReadlineResult::OsError(num),
                                   // ^^^^^^^^^ expected nix 0.31.1, found 0.30.1

Git dependency resolves this by aligning both to nix 0.31.1.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

dependabot bot and others added 2 commits January 26, 2026 14:34
Bumps [nix](https://github.com/nix-rust/nix) from 0.30.1 to 0.31.1.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](nix-rust/nix@v0.30.1...v0.31.1)

---
updated-dependencies:
- dependency-name: nix
  dependency-version: 0.31.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Copilot AI changed the title [WIP] Bump nix from 0.30.1 to 0.31.1 Complete nix 0.30.1 to 0.31.1 migration Jan 26, 2026
Copilot AI requested a review from youknowone January 26, 2026 18:07
@dependabot dependabot bot force-pushed the dependabot/cargo/nix-0.31.1 branch from 3c776ae to f2d2d2f Compare January 31, 2026 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants