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

pyfa: init at 2.60.1 #314934

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

pyfa: init at 2.60.1 #314934

wants to merge 2 commits into from

Conversation

Daholli
Copy link

@Daholli Daholli commented May 26, 2024

Description of changes

add new package: /nix/store/bq2na219yk2mnafamqiwdira8wwk42m7-pyfa-v2.58.3

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.

@ocfox
Copy link
Member

ocfox commented Jul 10, 2024

v2.59.2 released. Could this build from source?

@Daholli
Copy link
Author

Daholli commented Jul 10, 2024

v2.59.2 released. Could this build from source?

I can update it when i get home, we might be able to build it from source, but i have not done this, and ive heard python is a pain on nix. Can definitely look into it tho

@Daholli
Copy link
Author

Daholli commented Aug 21, 2024

Spent some time looking into building this from source, since this is my first package and i havent really worked with python recently i couldnt get it to work. It seems to use some unconventional sourceode structure and when I got it to the point where all dependencies were installed and I thought i did everything right I couldnt find the main and all references tell me to change "my" code structure so for now I won't be doing that.

@Daholli Daholli changed the title pyfa: init at v2.58.3 pyfa: init at v2.59.2 Sep 2, 2024
@ToasterUwU
Copy link
Member

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

1 package built:
  • pyfa

Copy link
Member

@ToasterUwU ToasterUwU left a comment

Choose a reason for hiding this comment

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

Builds fine, starts fine, but then crashes with the following error message after just a few seconds. Looks like a missing dependency at first glance.

** (pyfa.py:37703): ERROR **: 15:02:36.485: Unable to spawn a new child process: Failed to spawn child process “/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess” (No such file or directory)

@ToasterUwU
Copy link
Member

@Daholli I checked, the missing runtime dependency is webkitgtk_4_1

Can you please add it and recommit? I would love to have pyfa as a package on NixOS.
If you dont feel like finishing this, or dont have the time anymore to take care of this, feel free to let me know and i can take over.

@Daholli
Copy link
Author

Daholli commented Sep 20, 2024

Lemme look into it, just got off work

@ToasterUwU
Copy link
Member

@Daholli I also just realized you didn't put yourself in there as a maintainer, which is fine if intentional, just wanna make sure.

Feel free to add me as a Maintainer if needed/wanted. I use Pyfa at least once a week, so I will keep up to date with it automatically. I'm already in the maintainer file, so you can add toasteruwu to the maintainer list if you want to. No pressure tho, its your PR after all.

@Daholli
Copy link
Author

Daholli commented Sep 20, 2024

I wasn't sure if you can be a maintainer if you are not part of the nixpkg official contributers, but yeah i can gladly add you if you want to look after it, haven't been playing much eve recently.

Interesting, it has already worked before, but now i am getting a different error compared to you if I run it in an isolated environment.

@Daholli
Copy link
Author

Daholli commented Sep 20, 2024

wth... i dunno what i just did, i built it, trying to reproduce your mistake, it worked perfectly, now I am trying to start it again and it doesnt work at all anymore, it crashes because things are missing in the graphics pipeline, probably related to me playing around with the nividia driver yesterday. I'll push it again, but is it possible for you @ToasterUwU to just finish it?

@Daholli Daholli force-pushed the add-pyfa branch 2 times, most recently from 12186c4 to 444f618 Compare September 20, 2024 16:15
@ToasterUwU
Copy link
Member

Ok it still says its missing that dependency, so thats weird. I can take over if you want me too. I will just take your commits and add onto them

@ofborg ofborg bot requested a review from ToasterUwU September 20, 2024 18:14
@ToasterUwU ToasterUwU self-assigned this Sep 20, 2024
@ToasterUwU
Copy link
Member

@Daholli So i have been trying all kinds of things, and while googling around i found this issue.

This seems vaguely connected, but i cant really point my finger at the right direction. Any ideas?

AppImageCrafters/appimage-builder#175

@Daholli
Copy link
Author

Daholli commented Sep 21, 2024

https://github.com/Daholli/Pyfa/tree/nixos-support

can you try if this works for you? I used to use this and archived it after creating the PR. Not sure why this would work, but i guess it doesn't hurt to try, and I did use this actively

nix run github:Daholli/Pyfa/nixos-support

@ToasterUwU
Copy link
Member

@Daholli That fails in the exact same way as the pr one.

@Daholli
Copy link
Author

Daholli commented Oct 7, 2024

Can you educate me as to what a noop is? Still not sure what that means,so I also do not know how I should "fix" that.

@ToasterUwU
Copy link
Member

@Daholli As far as i understand they meant Noop as in the computing operation that does nothing. Meaning that the extraInstallCommands is a "do nothing" by default and that the stuff you added to it shouldnt be necessary and therefor removed.

But thats just me googling the term noop in the context of programming and guessing based on context.

@ToasterUwU
Copy link
Member

Also, at least when I made my first contribution, I was told to make adding myself to the maintainer list a separate commit with a specific message format. So one commit to enter your info into the maintainers file and one for the actual package where you are specified as a maintainer.

@Daholli
Copy link
Author

Daholli commented Oct 7, 2024

Also, at least when I made my first contribution, I was told to make adding myself to the maintainer list a separate commit with a specific message format. So one commit to enter your info into the maintainers file and one for the actual package where you are specified as a maintainer.

Yeah just saw that I`ll clean up the commit history, kinda fucked something up and have to repull the repo

@Daholli
Copy link
Author

Daholli commented Oct 7, 2024

God I suck at this, hopefully this works now? I am really noticing that I am missing some experience here :D

FML I didnt revert the merges.... can someone ELI5 how i would do a interactive rebase which ignores the merges?
Edit:
Got it to work with a new branch and cherry picks... also removed the ExtraCommands as wanted, hopefully this can be merged now

@ToasterUwU
Copy link
Member

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

1 package built:
  • pyfa

pkgs/by-name/py/pyfa/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/py/pyfa/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/py/pyfa/package.nix Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants