Skip to content

Comments

electron_31: init at 31.4.0, electron: bump default version to v31, electron-chromedriver_31: 31.3.0 -> 31.4.0#333907

Merged
yayayayaka merged 7 commits intoNixOS:masterfrom
teutat3s:electron-31
Aug 20, 2024
Merged

electron_31: init at 31.4.0, electron: bump default version to v31, electron-chromedriver_31: 31.3.0 -> 31.4.0#333907
yayayayaka merged 7 commits intoNixOS:masterfrom
teutat3s:electron-31

Conversation

@teutat3s
Copy link
Member

@teutat3s teutat3s commented Aug 11, 2024

Description of changes

Huge thanks to @yu-re-ka for providing these patches.

Also switches the default electron version to 31. The plan is to backport only the new version without touching the default for NixOS 24.05.

Fixes #325428.

Pinging @travisbhartwell @manveru for maintainer update.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@teutat3s teutat3s requested a review from yayayayaka August 11, 2024 13:42
@teutat3s teutat3s changed the title electron_31: init at 31.3.1 electron_31: init at 31.3.1, electron: bump default version to v31, electron-chromedriver_31: 31.3.0 -> 31.3.1 Aug 11, 2024
@teutat3s teutat3s force-pushed the electron-31 branch 2 times, most recently from 272b544 to ef0c983 Compare August 11, 2024 14:27
@teutat3s teutat3s requested a review from emilylange August 11, 2024 14:28
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Aug 11, 2024
@teutat3s
Copy link
Member Author

Result of nixpkgs-review pr 333907 run on x86_64-linux 1

4 packages failed to build:
  • bilibili
  • bitwarden-directory-connector
  • redisinsight
  • threema-desktop
52 packages built:
  • affine
  • antimatter-dimensions
  • blockbench
  • bruno
  • camunda-modeler
  • chatd
  • drawio
  • drawio-headless
  • electron (electron_31)
  • electron-bin (electron_31-bin)
  • electron-chromedriver (electron-chromedriver_31)
  • fcast-receiver
  • freetube
  • goofcord
  • headset
  • itch
  • jitsi-meet-electron
  • koodo-reader
  • mattermost-desktop
  • mqtt-explorer
  • nix-tour
  • obsidian
  • open-stage-control
  • pandoc-drawio-filter
  • pandoc-drawio-filter.dist
  • podman-desktop
  • pritunl-client
  • proton-pass
  • protonmail-desktop
  • python311Packages.mkdocs-drawio-exporter
  • python311Packages.mkdocs-drawio-exporter.dist
  • python312Packages.mkdocs-drawio-exporter
  • python312Packages.mkdocs-drawio-exporter.dist
  • r2modman
  • revolt-desktop
  • ride
  • sharedown
  • siyuan
  • standardnotes
  • stretchly
  • super-productivity
  • terra-station
  • tetrio-desktop
  • thedesk
  • uhk-agent
  • uhk-udev-rules
  • uivonim
  • vesktop
  • vieb
  • webtorrent_desktop
  • youtube-music
  • ytdownloader

@gigamonster256
Copy link
Contributor

Sick, I need electron 31 for a project i'm working on and the broken update.py was tripping me up. I got as far as updating the depot_tools to read the new DEPS format but didn't have enough time to get the new builtin condition variables working.

@SuperSandro2000
Copy link
Member

  • bitwarden-directory-connector

Can you pin this program to electron 30 to fix the build? Would that also fix the other build failures?
I don't really have time currently to look into that

@teutat3s
Copy link
Member Author

These builds are already failing on latest nixos-unstable (with electron_30):

@SuperSandro2000
Copy link
Member

I'll fix the bitwarden directory connector then. The gyp in there wants to use distutils.

@teutat3s
Copy link
Member Author

Looks like redisinsight has a similar gyp error.

teutat3s and others added 7 commits August 15, 2024 10:06
Co-authored-by: Yureka <yuka@yuka.dev>
Co-authored-by: Yureka <yuka@yuka.dev>
Co-authored-by: Yureka <yuka@yuka.dev>
Last contributions were in 2018 and 2015. Update list to de-facto
maintainers.
Upstream switched to electron 31 in version 1.11.70
element-hq/element-desktop@597f356
@teutat3s teutat3s changed the title electron_31: init at 31.3.1, electron: bump default version to v31, electron-chromedriver_31: 31.3.0 -> 31.3.1 electron_31: init at 31.4.0, electron: bump default version to v31, electron-chromedriver_31: 31.3.0 -> 31.4.0 Aug 15, 2024
@teutat3s
Copy link
Member Author

Result of nixpkgs-review pr 333907 run on x86_64-linux 1

4 packages failed to build:
  • bilibili
  • bitwarden-directory-connector
  • redisinsight
  • threema-desktop
54 packages built:
  • affine
  • antimatter-dimensions
  • blockbench
  • bruno
  • camunda-modeler
  • chatd
  • drawio
  • drawio-headless
  • electron (electron_31)
  • electron-bin (electron_31-bin)
  • electron-chromedriver (electron-chromedriver_31)
  • element-desktop
  • element-desktop-wayland
  • fcast-receiver
  • freetube
  • goofcord
  • headset
  • itch
  • jitsi-meet-electron
  • koodo-reader
  • mattermost-desktop
  • mqtt-explorer
  • nix-tour
  • obsidian
  • open-stage-control
  • pandoc-drawio-filter
  • pandoc-drawio-filter.dist
  • podman-desktop
  • pritunl-client
  • proton-pass
  • protonmail-desktop
  • python311Packages.mkdocs-drawio-exporter
  • python311Packages.mkdocs-drawio-exporter.dist
  • python312Packages.mkdocs-drawio-exporter
  • python312Packages.mkdocs-drawio-exporter.dist
  • r2modman
  • revolt-desktop
  • ride
  • sharedown
  • siyuan
  • standardnotes
  • stretchly
  • super-productivity
  • terra-station
  • tetrio-desktop
  • thedesk
  • uhk-agent
  • uhk-udev-rules
  • uivonim
  • vesktop
  • vieb
  • webtorrent_desktop
  • youtube-music
  • ytdownloader

@emilylange
Copy link
Member

Note: electron_29 will get EOLed soon (#335850) and at least two packages that want to bump their electron_29 to electron_31 are blocked by this PR here (#330137 and #335737).

@dotlambda
Copy link
Member

dotlambda commented Aug 19, 2024

  • redisinsight (ModuleNotFoundError: No module named 'distutils')

fixed by #335874

fixed by #335883

@yayayayaka
Copy link
Member

Result of nixpkgs-review pr 333907 run on x86_64-linux 1

3 packages failed to build:
  • bilibili
  • redisinsight
  • threema-desktop
55 packages built:
  • affine
  • antimatter-dimensions
  • bitwarden-directory-connector
  • blockbench
  • bruno
  • camunda-modeler
  • chatd
  • drawio
  • drawio-headless
  • electron (electron_31)
  • electron-bin (electron_31-bin)
  • electron-chromedriver (electron-chromedriver_31)
  • element-desktop
  • element-desktop-wayland
  • fcast-receiver
  • freetube
  • goofcord
  • headset
  • itch
  • jitsi-meet-electron
  • koodo-reader
  • mattermost-desktop
  • mqtt-explorer
  • nix-tour
  • obsidian
  • open-stage-control
  • pandoc-drawio-filter
  • pandoc-drawio-filter.dist
  • podman-desktop
  • pritunl-client
  • proton-pass
  • protonmail-desktop
  • python311Packages.mkdocs-drawio-exporter
  • python311Packages.mkdocs-drawio-exporter.dist
  • python312Packages.mkdocs-drawio-exporter
  • python312Packages.mkdocs-drawio-exporter.dist
  • r2modman
  • revolt-desktop
  • ride
  • sharedown
  • siyuan
  • standardnotes
  • stretchly
  • super-productivity
  • terra-station
  • tetrio-desktop
  • thedesk
  • uhk-agent
  • uhk-udev-rules
  • uivonim
  • vesktop
  • vieb
  • webtorrent_desktop
  • youtube-music
  • ytdownloader

Copy link
Member

@yayayayaka yayayayaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@yayayayaka yayayayaka merged commit 376b7ca into NixOS:master Aug 20, 2024
@teutat3s teutat3s deleted the electron-31 branch August 20, 2024 07:46
@jlbribeiro jlbribeiro mentioned this pull request Aug 23, 2024
13 tasks
onny pushed a commit that referenced this pull request Aug 23, 2024
As originally mentioned in #331868, feishin now [1] depends on Electron v31,
which was not packaged at the time (#325428).
It has since been fixed (by #333907).

[1]: https://github.com/jeffvli/feishin/blob/f2beeef/package.json#L234
greg-hellings pushed a commit to greg-hellings/nixpkgs that referenced this pull request Aug 24, 2024
As originally mentioned in NixOS#331868, feishin now [1] depends on Electron v31,
which was not packaged at the time (NixOS#325428).
It has since been fixed (by NixOS#333907).

[1]: https://github.com/jeffvli/feishin/blob/f2beeef/package.json#L234
emilazy pushed a commit to emilazy/nixpkgs that referenced this pull request Aug 28, 2024
As originally mentioned in NixOS#331868, feishin now [1] depends on Electron v31,
which was not packaged at the time (NixOS#325428).
It has since been fixed (by NixOS#333907).

[1]: https://github.com/jeffvli/feishin/blob/f2beeef/package.json#L234

(cherry picked from commit 3d15951)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package request: electron_31

6 participants