-
Notifications
You must be signed in to change notification settings - Fork 26
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
dependencies: use poetry #986
Conversation
d898555
to
f626405
Compare
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.
I can run poetry
only in one terminal.
06706fb
to
8d70ab5
Compare
d8ea293
to
0b37449
Compare
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.
bootstrap, setup and server works as expected.
run-tests successfully passed.
Server gives something like that: |
c55082e
to
0f81cef
Compare
a601a54
to
688341f
Compare
The code coverage seems to go red. I do not know why. |
7c18cb1
to
f84a1fa
Compare
Pipenv was used before, but often when a new version of dependency is published, we need to adapt the Pipenv file to fix travis errors. This is mainly due to the pipenv dependencies resolution algorithm. * Adapts docker files. * Uses poetry for the travis tests. * Uses python-dotenv to load .env and .flaskenv files and adapts the tests accordingly. * Updates the documentation. * Fixes the item view and the tests detected thanks to an upgrade of werkzeug. * Removes bad appnope hacks by mark this macosx specific package optional. * Removes the setuptools manifest checks as it is not used until now and causes problems with poetry: probably it is useless. * Adapts all local scripts. * Removes useless constraints. * Adds celery configuration to load .env and .flaskenv files. * Adds invenio-logging sentry extensions. Co-Authored-by: Johnny Mariéthoz <[email protected]>
Pipenv was used before, but often when a new version of dependency is
published, we need to adapt the Pipenv file to fix travis errors. This
is mainly due to the pipenv dependencies resolution
algorithm.
tests accordingly.
werkzeug.
optional.
causes problems with poetry: probably it is useless.
Co-Authored-by: Johnny Mariéthoz [email protected]
Why are you opening this PR?
How to test?
pipenv run
bypoetry run
.poetry run run-tests
.Available commands
poetry run bootstrap
poetry run console
poetry run run-tests
poetry run tests
poetry run server
poetry run setup
poetry run update
poetry run python ./setup.py extract_messages
poetry run python ./setup.py update_catalog
poetry run python ./setup.py compile_catalog
Code review check list