Skip to content

python3Packages.trytond: 6.2.6 -> 6.4.0#171354

Merged
SuperSandro2000 merged 5 commits intoNixOS:masterfrom
dotlambda:trytond-6.4.0
May 8, 2022
Merged

python3Packages.trytond: 6.2.6 -> 6.4.0#171354
SuperSandro2000 merged 5 commits intoNixOS:masterfrom
dotlambda:trytond-6.4.0

Conversation

@dotlambda
Copy link
Member

Description of changes
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • 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/)
  • 22.05 Release Notes (or backporting 21.11 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
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

cc @udono

@dotlambda dotlambda requested review from johbo, jonringer and mweinelt May 3, 2022 05:28
@dotlambda dotlambda requested a review from FRidh as a code owner May 3, 2022 05:28
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label May 3, 2022
@ofborg ofborg bot requested review from Ma27, erictapen, gador, globin, makefu and wd15 May 3, 2022 05:42
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels May 3, 2022
@gador
Copy link
Member

gador commented May 3, 2022

Could you elaborate a bit on why you had to add a new check dependency to flask-security-too?

@dotlambda
Copy link
Member Author

Could you elaborate a bit on why you had to add a new check dependency to flask-security-too?

It was removed from passlib's propagatedBuildInputs. I'm just following what upstream flask-security-too does: https://github.com/Flask-Middleware/flask-security/blob/a3af228a2067db770152289c6d98a564553ff107/requirements/tests.txt#L9

@gador
Copy link
Member

gador commented May 3, 2022

Could you elaborate a bit on why you had to add a new check dependency to flask-security-too?

It was removed from passlib's propagatedBuildInputs. I'm just following what upstream flask-security-too does: https://github.com/Flask-Middleware/flask-security/blob/a3af228a2067db770152289c6d98a564553ff107/requirements/tests.txt#L9

Thanks, that seems sensible.
But why do you include this change in the PR to update trytond? AFAIK it doesn't even depend on Flask-Security-Too. Did the build fail otherwise?

@dotlambda
Copy link
Member Author

@gador I guess I should have called the PR "random Python stuff". I just started with trytond and then saw that passlib doesn't specify extras-require even though trytond depends on passlib[bcrypt] and passlib[argon2] so I went ahead and changed that.

@ofborg ofborg bot added the ofborg-internal-error Ofborg encountered an error label May 3, 2022
@dotlambda
Copy link
Member Author

@ofborg eval

@cole-h cole-h removed the ofborg-internal-error Ofborg encountered an error label May 4, 2022
@dotlambda
Copy link
Member Author

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

16 packages failed to build:
  • dyndnsc
  • napalm
  • odoo
  • privacyidea
  • python310Packages.ldaptor
  • python310Packages.mailman
  • python310Packages.mailman-hyperkitty
  • python310Packages.napalm
  • python310Packages.napalm-hp-procurve
  • python310Packages.privacyidea-ldap-proxy
  • python39Packages.json-logging
  • python39Packages.ldaptor
  • python39Packages.napalm
  • python39Packages.napalm-hp-procurve
  • python39Packages.privacyidea-ldap-proxy
  • zeroc-ice-cpp11
95 packages built:
  • alerta-server
  • buildbot (python39Packages.buildbot)
  • buildbot-full (python39Packages.buildbot-full)
  • buildbot-ui (python39Packages.buildbot-ui)
  • buildbot-worker (python39Packages.buildbot-worker)
  • cura
  • datadog-agent
  • datadog-process-agent
  • devpi-client
  • devpi-server
  • etebase-server (python39Packages.etebase-server)
  • etesync-dav
  • gnome-keysign
  • gns3-gui
  • gns3-server
  • grab-site
  • home-assistant-component-tests.roomba
  • home-assistant-component-tests.sentry
  • magic-wormhole (python39Packages.magic-wormhole)
  • mailman
  • mitmproxy (python39Packages.mitmproxy)
  • moodle-dl
  • moz-phab
  • murmur
  • netbox
  • octoprint
  • openai (python39Packages.openai)
  • paperless-ngx
  • pgadmin4
  • python310Packages.amqtt
  • python310Packages.autobahn
  • python310Packages.buildbot
  • python310Packages.buildbot-full
  • python310Packages.buildbot-ui
  • python310Packages.buildbot-worker
  • python310Packages.channels
  • python310Packages.channels-redis
  • python310Packages.ciscoconfparse
  • python310Packages.daphne
  • python310Packages.dependency-injector
  • python310Packages.etebase-server
  • python310Packages.fastapi
  • python310Packages.flask-security-too
  • python310Packages.labgrid
  • python310Packages.magic-wormhole
  • python310Packages.magic-wormhole-mailbox-server
  • python310Packages.mitmproxy
  • python310Packages.ormar
  • python310Packages.passlib
  • python310Packages.pg8000
  • python310Packages.pypiserver
  • python310Packages.relatorio
  • python310Packages.roombapy
  • python310Packages.slowapi
  • python310Packages.testing-postgresql
  • python310Packages.trytond
  • python310Packages.volvooncall
  • python39Packages.amqtt
  • python39Packages.autobahn
  • python39Packages.channels
  • python39Packages.channels-redis
  • python39Packages.ciscoconfparse
  • python39Packages.daphne
  • python39Packages.dependency-injector
  • python39Packages.django-rq
  • python39Packages.fastapi
  • python39Packages.flask-security-too
  • python39Packages.labgrid
  • python39Packages.magic-wormhole-mailbox-server
  • python39Packages.mailman
  • python39Packages.mailman-hyperkitty
  • python39Packages.ormar
  • python39Packages.passlib
  • python39Packages.pg8000
  • python39Packages.pypiserver
  • python39Packages.relatorio
  • python39Packages.roombapy
  • python39Packages.sentry-sdk
  • python39Packages.slowapi
  • python39Packages.spacy
  • python39Packages.spacy-loggers
  • python39Packages.spacy-transformers
  • python39Packages.testing-postgresql
  • python39Packages.textacy
  • trytond (python39Packages.trytond)
  • python39Packages.volvooncall
  • python39Packages.wandb
  • radicale
  • radicale2
  • skytemple
  • soco-cli
  • tahoe-lafs
  • theharvester
  • tribler
  • zeroc-ice

@dotlambda dotlambda requested a review from SuperSandro2000 May 8, 2022 20:33
Comment on lines -19 to -20
propagatedBuildInputs = [ bcrypt argon2_cffi ];
propagatedNativeBuildInputs = [ argon2_cffi ];
Copy link
Member

Choose a reason for hiding this comment

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

This is now lost which I think was really important.

Copy link
Member Author

Choose a reason for hiding this comment

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

Those are extra-requires.

Copy link
Member

Choose a reason for hiding this comment

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

Yes but extra-requires currently is not easy to use with propagatedNativeBuildInputs. I am not sure how we want to make sure people actually add both.

Copy link
Member Author

Choose a reason for hiding this comment

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

Why is propagatedNativeBuildInputs needed?

Copy link
Member

Choose a reason for hiding this comment

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

For cross-compilation 1cb0112

Copy link
Member Author

Choose a reason for hiding this comment

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

It's not perfect, but not depending on argon2_cffi at all should also fix cross-compilation.

Copy link
Member Author

Choose a reason for hiding this comment

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

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).

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

14 packages failed to build and already failed to build on hydra master:
  • napalm: log was empty
  • odoo: log was empty
  • privacyidea: log was empty
  • python310Packages.ldaptor: log was empty
  • python310Packages.mailman: log was empty
  • python310Packages.mailman-hyperkitty: log was empty
  • python310Packages.napalm: log was empty
  • python310Packages.napalm-hp-procurve: log was empty
  • python310Packages.privacyidea-ldap-proxy: log was empty
  • python39Packages.ldaptor: log was empty
  • python39Packages.napalm: log was empty
  • python39Packages.napalm-hp-procurve: log was empty
  • python39Packages.privacyidea-ldap-proxy: log was empty
  • zeroc-ice-cpp11: log was empty
97 packages built:
  • alerta-server
  • buildbot (python39Packages.buildbot)
  • buildbot-full (python39Packages.buildbot-full)
  • buildbot-ui (python39Packages.buildbot-ui)
  • buildbot-worker (python39Packages.buildbot-worker)
  • cura
  • datadog-agent
  • datadog-process-agent
  • devpi-client
  • devpi-server
  • dyndnsc
  • etebase-server (python39Packages.etebase-server)
  • etesync-dav
  • gnome-keysign
  • gns3-gui
  • gns3-server
  • grab-site
  • home-assistant-component-tests.roomba
  • home-assistant-component-tests.sentry
  • magic-wormhole (python39Packages.magic-wormhole)
  • mailman
  • mitmproxy (python39Packages.mitmproxy)
  • moodle-dl
  • moz-phab
  • murmur
  • netbox
  • octoprint
  • openai (python39Packages.openai)
  • paperless-ngx
  • pgadmin4
  • python310Packages.amqtt
  • python310Packages.autobahn
  • python310Packages.buildbot
  • python310Packages.buildbot-full
  • python310Packages.buildbot-ui
  • python310Packages.buildbot-worker
  • python310Packages.channels
  • python310Packages.channels-redis
  • python310Packages.ciscoconfparse
  • python310Packages.daphne
  • python310Packages.dependency-injector
  • python310Packages.etebase-server
  • python310Packages.fastapi
  • python310Packages.flask-security-too
  • python310Packages.labgrid
  • python310Packages.magic-wormhole
  • python310Packages.magic-wormhole-mailbox-server
  • python310Packages.mitmproxy
  • python310Packages.ormar
  • python310Packages.passlib
  • python310Packages.pg8000
  • python310Packages.pypiserver
  • python310Packages.relatorio
  • python310Packages.roombapy
  • python310Packages.slowapi
  • python310Packages.testing-postgresql
  • python310Packages.trytond
  • python310Packages.volvooncall
  • python39Packages.amqtt
  • python39Packages.autobahn
  • python39Packages.channels
  • python39Packages.channels-redis
  • python39Packages.ciscoconfparse
  • python39Packages.daphne
  • python39Packages.dependency-injector
  • python39Packages.django-rq
  • python39Packages.fastapi
  • python39Packages.flask-security-too
  • python39Packages.json-logging
  • python39Packages.labgrid
  • python39Packages.magic-wormhole-mailbox-server
  • python39Packages.mailman
  • python39Packages.mailman-hyperkitty
  • python39Packages.ormar
  • python39Packages.passlib
  • python39Packages.pg8000
  • python39Packages.pypiserver
  • python39Packages.relatorio
  • python39Packages.roombapy
  • python39Packages.sentry-sdk
  • python39Packages.slowapi
  • python39Packages.spacy
  • python39Packages.spacy-loggers
  • python39Packages.spacy-transformers
  • python39Packages.testing-postgresql
  • python39Packages.textacy
  • trytond (python39Packages.trytond)
  • python39Packages.volvooncall
  • python39Packages.wandb
  • radicale (radicale3)
  • radicale2
  • skytemple
  • soco-cli
  • tahoe-lafs
  • theharvester
  • tribler
  • zeroc-ice

@SuperSandro2000 SuperSandro2000 merged commit 884ba7d into NixOS:master May 8, 2022
@dotlambda dotlambda deleted the trytond-6.4.0 branch May 8, 2022 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants