-
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
installation: fix python packages dependencies #841
Conversation
aa862ed
to
b6b5378
Compare
018a407
to
2b3cf0c
Compare
scripts/update
Outdated
|
||
pipenv run invenio alembic upgrade | ||
pipenv run invenio index init --force | ||
pipenv run bootstrap |
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.
As we are already in virtual env, you can run "${script_path}/bootstrap"
as previously
scripts/update
Outdated
script_path=$(dirname "$0") | ||
./"$script_path"/bootstrap |
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.
In my opinion, these lines should be kept. Sorry for the inconvenience 🙏
* Fixes strange behaviours during the resolution dependencies with pipenv. This will make the new python packages easy. * Adds the documentation in the python packages file (Pipefile). * Adds support of a new version of the python import order check tool (isort>=4.3.10). * Adds new bootstrap and server command for pipenv. * Replaces scripts commands by pipenv run: * bootstrap * console * server * setup * update * Adds virtualenv detection in scripts/* for python>3.6.4. Co-Authored-by: Johnny Mariéthoz <[email protected]> Co-Authored-by: Olivier DOSSMANN <[email protected]>
pipenv. This will make the new python packages easy.
Co-Authored-by: Johnny Mariéthoz [email protected]
Co-Authored-by: Olivier DOSSMANN [email protected]
Note
After the integration into the dev branch the documentation should be updated: https://github.com/rero/rero-ils/blob/master/INSTALL.rst
Why are you opening this PR?
The idea is to make the CI travis tests more stable. Moreover it add the support of python 3.6.10.
How to test?
Code review check list