-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Add a few python packages #994
Conversation
There is some information on wiki how to get a list of affected packages by the change |
On Fri, Sep 20, 2013 at 11:17 PM, Domen Kožar [email protected]:
|
Thanks! I came across this once, but was not able find it ever since. On Fri, Sep 20, 2013 at 11:28 PM, cillianderoiste
|
@offlinehacker could you give a try to pypi2nix and try to add this libs with it? it will make them easier to maintain in the future. |
@garbas This are pretty basic libraries and i want to maintain them by hand. I had to put some effort to make all tests run as they should and i want to keep them here, really. I will be making celery and sentry package and i will use pipy2nix, but i have one fear before using it. No it's not the tests, let's put that asside if you version pick packages mostly you should not have problems if you don't run tests right? and i will disable tests for now until you find some more automatic solution to get testing dependecies. The problem is that if for example i have django package, that supposedly depends on some pacakage x and i have sentry package that depends on django, where should i override package x. Can i do this in django or i have to do in both? If i can do only in django(so inheritance works), pipy2nix and its syntax is future proven to work and i have no more fears and i will be happy to use pipy2nix. Besides that, i don't think that solution of generating python stuff is a way to go. But if generator works for some set of packages, let it be, i'm fine with that. Still currently i see pipy2nix only for bigger projects like plone, sentry,... The best would be to have tool that would help maintainer to patch original python-pacakges and this would be completly possible. We could write augeas rules that would modify nix syntax directly, for start you could use just regex expressions and it would work just fine for most packages. |
Okay here are rebased commits, tested with my local hydra to make sure nothing broke. It's ready to merge. I now made two packages sqlalchemy(the old 0.7.10 stable) and sqlalchemy8, because some packages like sqlalchemy_imageattach and ColanderAlchemy require sqlalchemy >= 0.8, but some packages like FlexGet require sqlalchem <=0.8, so now everything works. |
@@ -1085,6 +1127,23 @@ pythonPackages = modules // import ./python-packages-generated.nix { | |||
}; | |||
}; | |||
|
|||
pytest-xdist = buildPythonPackage rec { |
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.
use underscore, not dash for package names
Two small complains, otherwise looks good! |
…loop-on-failing modes
…sage of a python program
…attaching images to entity objects
…rom sqlalchemy models
Tnx, fixed! |
i've been experimenting with overriding on the plane and i think i found the solution where you only define overrides once. so in case packaging of Sentry and Celery you are only going to provide overrides for Django once. about those those failing tests i would really like to use your piece of code to calculate dependencies and fetched metadata. can you point me again to that code. i'll see if i have time to incorporate it into pypi2nix. is there anything else that worries you? i would be glad to fix it (if its possible to fix it). as a result i would like to package all python packages on pypi.python.org (or at least most of them) but that would be done outside hydra.nixos.org ofcourse. |
This release is still subject to double-free crashes in at least the signature verification functionality, but debugging that requires an up to date version (released two months ago), so here we go. NB: Upstream released two source tarballs without further information, qdigidoc4_r.2.11.110.orig.tar.xz contains sources without subdirectory, qdigidoc4_r.2.11.110-1804.tar.xz contains a subdirectory with sources; their difference is irrelevant for our build, so pick the one 1804 one: ``` $ diff -u -r qdigidoc4_r.2.11.110.orig/ qdigidoc4_r.2.11.110-1804/qdigidoc4/ Only in qdigidoc4_r.2.11.110.orig/cmake: .git Only in qdigidoc4_r.2.11.110.orig/common: .git Only in qdigidoc4_r.2.11.110.orig/common: .gitmodules diff '--color=auto' -u -r qdigidoc4_r.2.11.110.orig/debian/changelog qdigidoc4_r.2.11.110-1804/qdigidoc4/debian/changelog --- qdigidoc4_r.2.11.110.orig/debian/changelog 2022-01-28 13:44:35.000000000 +0200 +++ qdigidoc4_r.2.11.110-1804/qdigidoc4/debian/changelog 2022-01-28 13:44:38.000000000 +0200 @@ -1,3 +1,9 @@ +qdigidoc4 (4.2.11.110-1804) unstable; urgency=medium + + * Release: 4.2.11.110. + + -- RIA <[email protected]> Fri, 28 Jan 2022 13:44:38 +0200 + qdigidoc4 (0.2.0.3) stable; urgency=low * Initial release Only in qdigidoc4_r.2.11.110.orig/extensions/cmake: .git Only in qdigidoc4_r.2.11.110.orig/extensions: .git Only in qdigidoc4_r.2.11.110.orig/extensions: .gitmodules ``` ``` $ git log --oneline v4.2.9..v4.2.11 2631e24 (tag: v4.2.11) Update translation (NixOS#1025) 76c671a Support Fedora (NixOS#997) 639cebe Update Qt to 5.12.2 (NixOS#1019) cde7fb8 Add web-eid to diagnostics (NixOS#989) faa8276 Add default option to sign button (NixOS#1001) cb8262a Update OpenLDAP 2.6.0 (NixOS#996) 132de43 Workaround for Yaru theme on ubuntu 21.10 (NixOS#994) 58e4278 Improve safeFilename (NixOS#986) 1710f47 Fix coverity and cppcheck warnings (NixOS#992) 60af0bb Remove autofocus (NixOS#981) 5a9ff0a Use thread monitor event state (NixOS#845) cdd95a5 Fix LDAP certificate validation (NixOS#980) 92f81ec Workaround SID/MID proxy unicode issues (NixOS#982) 92a5aaa Update version number and OpenSSL, OpenLDAP versions (NixOS#977) 5971e54 Update Xalan-C 1.12 (NixOS#976) 1f848cf Add more specific info for OpenSSLExceptions (NixOS#970) 0497b7f Set Select folder dialog button label and fix some translation warnings (NixOS#974) e56e814 Workaround recent Qt changes to pass mousePressEvent (NixOS#978) 44f4a7e Update translations in russian for settings (NixOS#973) 25756eb Wait for upper level operations to avoid locked screen (NixOS#979) 232784e Don't set focus to fonds image (NixOS#967) 5cf2157 Change the view of expired and expiring certificates (NixOS#965) b001274 Resolve a yellow background, when PIN is locked (NixOS#971) 4b20375 Fix the boolean value (NixOS#975) 1a41817 Resolve Ubuntu 21.04 warnings (NixOS#946) 301178b Set read-only permission for files in signed container (NixOS#962) e028a30 Update OpenLDAP 2.5.5 (NixOS#963) 1fb5f6a Set accessible name to pin (NixOS#966) 18e6112 Handle libdigidocpp exception (NixOS#943) a9efe0f Update translations (NixOS#961) 06e44a0 Fix Linux dark theme (NixOS#950) a6ff428 Fix missed border of Accordion (NixOS#960) a14476c Update list of components in Info view (NixOS#958) 8980270 Fix normalization of filenames (NixOS#952) e4aac44 Shorten notifications display time (NixOS#948) 14606dc Use QSysInfo for OS version (NixOS#931) b8716e7 Resolve a yellow background, when PIN is locked (NixOS#947) 0319c6b Don't allow searching for spaces during encryption (NixOS#929) ```
All the changes are nicely enumerated in commit messages.
Please check if update of sqlalchemy introduces any problems.
PS: i would be happy if anybody would tell me how to check if my changes broke some other package.