1
0
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:
Brad Warren
2021-06-09 17:01:54 -07:00
committed by GitHub
parent d7b26c1bb2
commit 0b08a80dce
10 changed files with 100 additions and 168 deletions

View File

@@ -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__':