Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump nixpkgs to 23.05 #648

Open
wants to merge 7 commits into
base: released
Choose a base branch
from
Open

bump nixpkgs to 23.05 #648

wants to merge 7 commits into from

Conversation

Artturin
Copy link
Member

• Updated input 'nixpkgs':
'github:nixos/nixpkgs/7a6a010c3a1d00f8470a5ca888f2f927f1860a19' (2022-12-08)
→ 'github:nixos/nixpkgs/720e61ed8de116eec48d6baea1d54469b536b985' (2023-08-13)
• Updated input 'nixpkgs-for-php':
'github:nixos/nixpkgs/99ec06122f481588abafd91f2710d80a5320efe6' (2022-12-08)
→ 'github:nixos/nixpkgs/380be19fbd2d9079f677978361792cb25e8a3635' (2023-05-31)

@Artturin
Copy link
Member Author

update nom still needs changes

@Artturin Artturin force-pushed the updates3 branch 2 times, most recently from 1c2971b to 2265f4c Compare August 14, 2023 17:16
@Artturin
Copy link
Member Author

Artturin commented Aug 14, 2023

not updating nom for now

here's the commit msg

update nom

`warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3


https://github.com/rust-bakery/nom/blob/main/CHANGELOG.md#500---2019-06-24

> The CompleteByteSlice and CompleteStr input types were removed. To get different behaviour related to streaming or complete input, there are different versions of some parsers in different submodules, like nom::character::streaming::alpha0 and nom::character::complete::alpha0.

https://github.com/rust-bakery/nom/blob/main/doc/upgrading_to_nom_5.md#removal-of-completestr-and-completebyteslice

@Artturin
Copy link
Member Author

nix 2.11.0 -> nix 2.13.5

@Artturin Artturin marked this pull request as ready for review August 28, 2023 14:53
@Artturin Artturin force-pushed the updates3 branch 3 times, most recently from fcf661b to d6e8ec4 Compare October 4, 2023 02:17
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/7a6a010c3a1d00f8470a5ca888f2f927f1860a19' (2022-12-08)
  → 'github:nixos/nixpkgs/720e61ed8de116eec48d6baea1d54469b536b985' (2023-08-13)
• Updated input 'nixpkgs-for-php':
    'github:nixos/nixpkgs/99ec06122f481588abafd91f2710d80a5320efe6' (2022-12-08)
  → 'github:nixos/nixpkgs/380be19fbd2d9079f677978361792cb25e8a3635' (2023-05-31)

flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/720e61ed8de116eec48d6baea1d54469b536b985' (2023-08-13)
  → 'github:nixos/nixpkgs/32dcb45f66c0487e92db8303a798ebc548cadedc' (2023-09-30)
for cargo upgrade

remove alias usage
```
$ cargo upgrade
    Updating 'https://github.com/rust-lang/crates.io-index' index
    Checking virtual workspace's dependencies
    Checking ofborg's dependencies
name               old req compatible latest  new req note
====               ======= ========== ======  ======= ====
chrono             0.4.22  0.4.26     0.4.26  0.4.26
either             1.8.0   1.9.0      1.9.0   1.9.0
futures-util       0.3.25  0.3.28     0.3.28  0.3.28
hyper              =0.10.* 0.10.16    0.14.27 =0.10   pinned
lapin              2.1.1   2.3.1      2.3.1   2.3.1
regex              1.7.0   1.9.3      1.9.3   1.9.3
tempfile           3.3.0   3.7.1      3.7.1   3.7.1
tracing-subscriber 0.3.16  0.3.17     0.3.17  0.3.17
uuid               1.2     1.4.1      1.4.1   1.4
rustls-pemfile     1.0.2   1.0.3      1.0.3   1.0.3
    Checking ofborg-simple-build's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
log  0.4.17  0.4.20     0.4.20 0.4.20
```

`cargo update`

`cargo upgrade`

```
name     old req compatible latest new req
====     ======= ========== ====== =======
chrono   0.4.26  0.4.31     0.4.31 0.4.31
regex    1.9.3   1.9.6      1.9.6  1.9.6
tempfile 3.7.1   3.8.0      3.8.0  3.8.0
```

`cargo update`
```
error: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
   --> ofborg/src/tasks/githubcommentposter.rs:734:29
    |
734 |         let timestamp = Utc.ymd(2023, 4, 20).and_hms(13, 37, 42);
    |                             ^^^

error: use of deprecated method `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
   --> ofborg/src/tasks/githubcommentposter.rs:734:46
    |
734 |         let timestamp = Utc.ymd(2023, 4, 20).and_hms(13, 37, 42);
    |                                              ^^^^^^^
```

https://docs.rs/chrono/latest/chrono/offset/trait.TimeZone.html#method.with_ymd_and_hms

and clippy lint
@Artturin Artturin changed the title bump nixpkgs to 23.05 bump nixpkgs to unstable Oct 25, 2023
flake.nix Outdated Show resolved Hide resolved
@Artturin Artturin changed the title bump nixpkgs to unstable bump nixpkgs to 23.05 Dec 28, 2023
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/5550a85a087c04ddcace7f892b0bdc9d8bb080c8' (2023-10-21)
  → 'github:nixos/nixpkgs/7790e078f8979a9fcd543f9a47427eeaba38f268' (2023-12-23)
@Artturin Artturin closed this Nov 2, 2024
@Artturin Artturin reopened this Nov 2, 2024
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.

1 participant