mirror of
https://github.com/certbot/certbot.git
synced 2025-08-06 16:42:41 +03:00
Pin pip & co like our other dependencies (#8868)
* use poetry 1.2.0a1 * pin pip normally * use normal constraints file with pipstrap * remove unused STRIP_HASHES var * Check for old poetry versions * keep pip, setuptools, and wheel pinned in oldest * remove strip hashes * pin back pip * fix new lint error
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
#!/usr/bin/env python
|
||||
"""Uses pip to upgrade Python packaging tools to pinned versions."""
|
||||
import os
|
||||
|
||||
import pip_install
|
||||
|
||||
_REQUIREMENTS_PATH = os.path.join(os.path.dirname(__file__), "pipstrap_constraints.txt")
|
||||
|
||||
|
||||
def main():
|
||||
pip_install_args = '--requirement "{0}"'.format(_REQUIREMENTS_PATH)
|
||||
pip_install.pip_install_with_print(pip_install_args)
|
||||
pip_install.main('pip setuptools wheel'.split())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Reference in New Issue
Block a user