!VjfUzaKsXokUdnQcvP:nixos.org

Nix Python

151 Members
Anything regarding using Python with Nix.45 Servers

Load older messages


SenderMessageTime
6 Aug 2022
@winterqt:nixos.devWinter (she/her)

so i have a prototype of this working, and migrated the majority of packages which use unittest to it manually (for accuracy)

should i open a PR to discuss further, even if it ends up getting closed?

05:14:11
@FRidh:matrix.orgFRidhunittest used to be the default test runner. I think it was removed because so many packages tested differently nowadays that it no longer was a good default.06:01:10
@FRidh:matrix.orgFRidhbut yes, a hook that runs unittest would be good.06:01:35
@raitobezarius:matrix.orgraitobezariusHm, has poetry 1.1.14 been backported to still maintained NixOS version?15:37:35
@raitobezarius:matrix.orgraitobezariusIt seems like it is utterly broken due to https://github.com/python-poetry/poetry/pull/5973 (but I'm on unstable so my bad)15:37:50
@winterqt:nixos.devWinter (she/her)
In reply to @raitobezarius:matrix.org
Hm, has poetry 1.1.14 been backported to still maintained NixOS version?
yes, 1.1.14 is on 22.05
15:57:00
@raitobezarius:matrix.orgraitobezariusnice winterqt!15:58:39
@yuu:matrix.orgyuu changed their display name from yuu to YourNick.17:41:46
@tpw_rules:matrix.orgtpw_rules joined the room.17:42:28
@yuu:matrix.orgyuu changed their display name from YourNick to yuu[m].17:42:33
@tpw_rules:matrix.orgtpw_ruleshi, i'm currently trying to fix QGIS and almost got everything working. there is a one line patch to sip necessary which is already upstream but not in a release yet. for now i've put it in QGIS's derivation. i'd rather not put it in the sip derivation to avoid rebuilding a few hundred large packages. thoughts?17:43:39
@tpw_rules:matrix.orgtpw_ruleshm, i guess that's problematic anyway because it mixes badly with the sip from plugins17:53:12
@sandro:supersandro.deSandro 🐧Please fetchpatch it into sip. Adding an override for sip into qgis package is highly problematic if the package is propagated 17:57:51
@sandro:supersandro.deSandro 🐧 * Please fetchpatch it into sip. If it is merged but not released thats fine. Adding an override for sip into qgis package is highly problematic if the package is propagated 17:58:10
@tpw_rules:matrix.orgtpw_rulesalright, thank you17:59:09
@winterqt:nixos.devWinter (she/her) thoughts on warning if pythonImportsCheck isn't set when evaluating a module? 18:12:24
@winterqt:nixos.devWinter (she/her)s/thoughts/anyone have any thoughts18:12:50
@tpw_rules:matrix.orgtpw_rules how does/would that interact with doCheck? 18:12:53
@tpw_rules:matrix.orgtpw_rules(e.g. if doCheck = true, would it still warn?)18:13:05
@winterqt:nixos.devWinter (she/her)

This is a test, however, it should be ran independent of the checkPhase and checkInputs

18:13:55
@winterqt:nixos.devWinter (she/her) doCheck doesn't apply for it 18:14:41
@yuu:matrix.orgyuu changed their display name from yuu[m] to yuu.20:34:56
@tpw_rules:matrix.orgtpw_ruleswhy are there so many PyQt5s?21:02:30
7 Aug 2022
@winterqt:nixos.devWinter (she/her)
In reply to @winterqt:nixos.dev
thoughts on warning if pythonImportsCheck isn't set when evaluating a module?

for what it's worth, these numbers should be accurate...

$ nix-env -qa --json --file . --show-trace &| rg "trace: warning: python modules should" | rg python3.10 | uniq | wc -l
    2113
02:26:04
@winterqt:nixos.devWinter (she/her)that's gonna be a pita to go through02:26:12
@winterqt:nixos.devWinter (she/her) (warning for missing pythonImportsCheck in modules) 02:26:48
@betaboon:0x80.ninjabetaboonheya, i got a question regarding a PR that I'm working on. one of the packages has a test-dependency that is not yet available in nixpkgs. so i thought about adding it, but it's last release is in 2019 so it feels kinda weird adding that to nixpkgs. i could just define and use it in the package-definition that has it as a test-requirement. any opinions ?11:05:09
@hexa:lossy.networkhexasome packages are just finished, not necessarily a bad thing11:21:26
@hexa:lossy.networkhexait really depends how complex they are and whether or not they conflict with recent python versions11:21:45
@betaboon:0x80.ninjabetaboonI'm just adding it to nixpkgs now and we'll see how the review goes ;)11:28:55

There are no newer messages yet.


Back to Room ListRoom Version: 6