-
Notifications
You must be signed in to change notification settings - Fork 17
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
Wrap pip to force pip<20.3 and setuptools<50.0.0 #156
Conversation
Osci runs the CI jobs on Bionic, this version of tox (2.5) will automatically upgrade the packages at virtualenv creation and any pinning won't have effect since the virtualenv created is upgraded to the latest versions of pip and setuptools. This behavior was changed in tox 3.10 with the addition of the 'download' directive[0] Setuptools 58.0 dropped the support for use_2to3=true which is needed to install blessings (an indirect dependency of charm-tools) since then the gate got broken. Closes openstack-charmers#155 [0] tox-dev/tox@18147f4
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.
LGTM in general, thanks!
FYI for future travelers: this change is being validated here |
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.
Excellent fix!
cp -fvp global/$charm_type/tox.ini charms/$charm/pip.sh | ||
;; | ||
source-zaza) | ||
cp -fvp global/$charm_type/tox.ini charms/$charm/tox.ini | ||
cp -fvp global/$charm_type/tox.ini charms/$charm/pip.sh |
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.
Unfortunately there is a bug here: tox.ini -> pip.sh.
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.
🤦 will fix that in a new PR in a minute.
* Update charm-mysql-innodb-cluster from branch 'master' to 1774de95b7d55616b25f09b199f48f98fb6c2c32 - Remove the openstack-upgrade action The openstack-principle reactive layer brings both the openstack-origin option and the openstack-upgrade action, none of which being needed for this charm. This layer has been used already since the very first commit of this charm, most likely for no specific reason. Also synced tox/pip boilerplate in order to include: * openstack-charmers/release-tools#156 * openstack-charmers/release-tools#157 Closes-Bug: #1944953 Change-Id: I001f435c648229b65fb718a78a33e6303a0faf11
The openstack-principle reactive layer brings both the openstack-origin option and the openstack-upgrade action, none of which being needed for this charm. This layer has been used already since the very first commit of this charm, most likely for no specific reason. Also synced tox/pip boilerplate in order to include: * openstack-charmers/release-tools#156 * openstack-charmers/release-tools#157 Closes-Bug: #1944953 Change-Id: I001f435c648229b65fb718a78a33e6303a0faf11
Small review of README Add Documentation section Minor changes Fix a bug by adding an admonishment Also synced tox/pip boilerplate in order to include: * openstack-charmers/release-tools#156 * openstack-charmers/release-tools#157 Closes-Bug: #1881171 Change-Id: I405e8f2692be76695ac3f57a7618deae98e45225 Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
* Update charm-mysql-router from branch 'master' to 9cc7f6f13a66eb7015c535c08f6ba31ef46cd92e - Review README Small review of README Add Documentation section Minor changes Fix a bug by adding an admonishment Also synced tox/pip boilerplate in order to include: * openstack-charmers/release-tools#156 * openstack-charmers/release-tools#157 Closes-Bug: #1881171 Change-Id: I405e8f2692be76695ac3f57a7618deae98e45225 Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
Osci runs the CI jobs on Bionic, this version of tox (2.5) will automatically upgrade the packages at virtualenv creation and any pinning won't have effect since the virtualenv created is upgraded to the latest versions of pip and setuptools. This behavior was changed in tox 3.10 with the addition of the 'download' directive[0] Setuptools 58.0 dropped the support for use_2to3=true which is needed to install blessings (an indirect dependency of charm-tools) since then the gate got broken. This is similar to: openstack-charmers/release-tools#156 openstack-charmers/release-tools#157 Change-Id: I7f22cd744a7aa5747cca49f094a5efd041481a80 Co-authored-by: Felipe Reyes <felipe.reyes@canonical.com>
* Update charm-layer-openstack from branch 'master' to 4793ceba5faeac659d9db9b5fc4edde325155710 - Wrap pip to force pip<20.3 and setuptools<50.0.0 Osci runs the CI jobs on Bionic, this version of tox (2.5) will automatically upgrade the packages at virtualenv creation and any pinning won't have effect since the virtualenv created is upgraded to the latest versions of pip and setuptools. This behavior was changed in tox 3.10 with the addition of the 'download' directive[0] Setuptools 58.0 dropped the support for use_2to3=true which is needed to install blessings (an indirect dependency of charm-tools) since then the gate got broken. This is similar to: openstack-charmers/release-tools#156 openstack-charmers/release-tools#157 Change-Id: I7f22cd744a7aa5747cca49f094a5efd041481a80 Co-authored-by: Felipe Reyes <felipe.reyes@canonical.com>
Osci runs the CI jobs on Bionic, this version of tox (2.5) will
automatically upgrade the packages at virtualenv creation and any
pinning won't have effect since the virtualenv created is upgraded to
the latest versions of pip and setuptools. This behavior was changed in
tox 3.10 with the addition of the 'download' directive[0]
Setuptools 58.0 dropped the support for use_2to3=true which is needed to
install blessings (an indirect dependency of charm-tools) since then
the gate got broken.
Closes #155
[0] tox-dev/tox@18147f4