-
Notifications
You must be signed in to change notification settings - Fork 987
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
nixpkgs
upgrade to 23.11
#18321
nixpkgs
upgrade to 23.11
#18321
Conversation
Jenkins BuildsClick to see older builds (123)
|
7964f8d
to
c22f201
Compare
You can't find
Use Also, the commit your using this, where is it from? |
Also, it's important to use stable branches like |
Here's an example of a It is good to list notable upgrade in the commit and PR description to make it clear what is being changes in tooling and libraries. |
It appears @richard-ramos needs Go 1.21 and for that reason is interested in upgrading Please coordinate with him to settle on the same version, preferably from stable |
1b0824f
to
d2e0d86
Compare
d2e0d86
to
16d0435
Compare
### Summary We need to bump `kotlin` Plugin version to `1.9.0` because the `nixpkgs` upgrade will set default `gradle` version to `8.4`. `gradle` version `8.4` comes with a base `kotlin` version of `1.9.0` which becomes incompatible with our existing version of `1.7` Otherwise we get errors like this : ``` e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/ gradle-plugin/src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (25, 7): Class 'kotlin.collections.CollectionsKt__CollectionsKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/CollectionsKt__CollectionsKt.class e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/gradle-plugin/ src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (25, 47): Class 'kotlin.collections.CollectionsKt___CollectionsKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/CollectionsKt___CollectionsKt.class e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/gradle-plugin/ src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (27, 12): Class 'kotlin.collections.ArraysKt___ArraysKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/ArraysKt___ArraysKt.class ``` needed for #18321 In this commit we set `kotlinPluginVersion` to `1.9.0` and update `gradle` dependencies. #### Platforms - Android
converting to draft since this will require lots of ongoing work |
### Summary We need to bump `kotlin` Plugin version to `1.9.0` because the `nixpkgs` upgrade will set default `gradle` version to `8.4`. `gradle` version `8.4` comes with a base `kotlin` version of `1.9.0` which becomes incompatible with our existing version of `1.7` Otherwise we get errors like this : ``` e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/ gradle-plugin/src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (25, 7): Class 'kotlin.collections.CollectionsKt__CollectionsKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/CollectionsKt__CollectionsKt.class e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/gradle-plugin/ src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (25, 47): Class 'kotlin.collections.CollectionsKt___CollectionsKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/CollectionsKt___CollectionsKt.class e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/gradle-plugin/ src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (27, 12): Class 'kotlin.collections.ArraysKt___ArraysKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/ArraysKt___ArraysKt.class ``` needed for #18321 In this commit we set `kotlinPluginVersion` to `1.9.0` and update `gradle` dependencies. #### Platforms - Android
### Summary We need to bump `kotlin` Plugin version to `1.9.0` because the `nixpkgs` upgrade will set default `gradle` version to `8.4`. `gradle` version `8.4` comes with a base `kotlin` version of `1.9.0` which becomes incompatible with our existing version of `1.7` Otherwise we get errors like this : ``` e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/ gradle-plugin/src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (25, 7): Class 'kotlin.collections.CollectionsKt__CollectionsKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/CollectionsKt__CollectionsKt.class e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/gradle-plugin/ src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (25, 47): Class 'kotlin.collections.CollectionsKt___CollectionsKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/CollectionsKt___CollectionsKt.class e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/gradle-plugin/ src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (27, 12): Class 'kotlin.collections.ArraysKt___ArraysKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/ArraysKt___ArraysKt.class ``` needed for #18321 In this commit we set `kotlinPluginVersion` to `1.9.0` and update `gradle` dependencies. #### Platforms - Android
### Summary We need to bump `kotlin` Plugin version to `1.9.0` because the `nixpkgs` upgrade will set default `gradle` version to `8.4`. `gradle` version `8.4` comes with a base `kotlin` version of `1.9.0` which becomes incompatible with our existing version of `1.7` Otherwise we get errors like this : ``` e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/ gradle-plugin/src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (25, 7): Class 'kotlin.collections.CollectionsKt__CollectionsKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/CollectionsKt__CollectionsKt.class e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/gradle-plugin/ src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (25, 47): Class 'kotlin.collections.CollectionsKt___CollectionsKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/CollectionsKt___CollectionsKt.class e: /Users/siddarthkumar/code/experiments/status-mobile/node_modules/@react-native/gradle-plugin/ src/main/kotlin/com/facebook/react/utils/TaskUtils.kt: (27, 12): Class 'kotlin.collections.ArraysKt___ArraysKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. The class is loaded from /nix/store/3a228ppiiljfvsrxyq15h25chmiwsmbh-gradle-8.4/lib/gradle/lib/ kotlin-stdlib-1.9.10.jar!/kotlin/collections/ArraysKt___ArraysKt.class ``` needed for #18321 In this commit we set `kotlinPluginVersion` to `1.9.0` and update `gradle` dependencies. #### Platforms - Android
cd36091
to
2016bc2
Compare
nixpkgs
upgrade to 23.11
nixpkgs
upgrade to 23.11
88% of end-end tests have passed
Failed tests (2)Click to expandClass TestActivityMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Expected to fail tests (4)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestCommunityOneDeviceMerged:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestGroupChatMultipleDeviceMergedNewUI:
Passed tests (42)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestDeepLinksOneDevice:
Class TestCommunityMultipleDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityOneDeviceMerged:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestActivityMultipleDevicePR:
Class TestActivityMultipleDevicePRTwo:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the upgrade to RN 0.73.2 part of this PR?
Also, the PR description does not contain a list of major upgrades of tools and libraries included in this nixpkgs
ugprade.
I would also keep the linter changes as a separate commit when squashing this.
@@ -6,10 +6,11 @@ let | |||
# For testing local version of nixpkgs | |||
#nixpkgsSrc = (import <nixpkgs> { }).lib.cleanSource "/home/jakubgs/work/nixpkgs"; | |||
|
|||
# We follow the master branch of official nixpkgs. | |||
# using a fork of nixpkgs since we need changes from https://github.com/NixOS/nixpkgs/pull/269479 | |||
# on top of https://github.com/NixOS/nixpkgs/releases/tag/23.11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe taking from 23.11 branch head is better, it can contain usefull fixes.
because |
I also hope to merge this PR after the RN upgrade has been merged, so the RN upgrade commit in this PR would go away with rebase. |
0% of end-end tests have passed
Failed tests (47)Click to expandClass TestActivityMultipleDevicePRTwo:
Class TestCommunityMultipleDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestActivityMultipleDevicePR:
Class TestDeepLinksOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
Expected to fail tests (1)Click to expandClass TestCommunityOneDeviceMerged:
|
0% of end-end tests have passed
Failed tests (47)Click to expandClass TestCommunityMultipleDeviceMergedTwo:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestDeepLinksOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestCommunityOneDeviceMerged:
Class TestActivityMultipleDevicePR:
Class TestActivityMultipleDevicePRTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestCommunityMultipleDeviceMerged:
Expected to fail tests (1)Click to expandClass TestCommunityOneDeviceMerged:
|
19% of end-end tests have passed
Failed tests (37)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUiTwo:
Class TestDeepLinksOneDevice:
Class TestCommunityMultipleDeviceMergedTwo:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestActivityMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityMultipleDevicePRTwo:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Expected to fail tests (2)Click to expandClass TestCommunityOneDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Passed tests (9)Click to expandClass TestGroupChatMultipleDeviceMergedNewUI:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestActivityMultipleDevicePR:
Class TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
|
update: will resume working on this after the release is done. |
This would become a tough rebase. |
Summary
This PR upgrades
nixpkgs
to23.11
We also apply fixes from NixOS/nixpkgs#269479 in our fork of
nixpkgs
and use that commit.Depends on
react native
to 0.73.5 #18563 for android related fixes (commit is included in this PR as well)Notable changes from previous version
Gradle
has been bumped from8.0.1
to8.4
clojure-lsp
was upgradedfixes #18311
Platforms
status: ready