{ "info": { "author": "Paul Glass", "author_email": "pnglass@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Framework :: tox", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "[![Build Status](https://travis-ci.com/pglass/tox-pip-version.svg?branch=master)](https://travis-ci.com/pglass/tox-pip-version)\n![](https://img.shields.io/pypi/v/tox-pip-version.svg)\n![](https://img.shields.io/pypi/pyversions/tox-pip-version.svg)\n\nOverview\n--------\n\nThis is a tox plugin that preinstalls a specific version of pip in each tox\nenvironment.\n\n```bash\npip install tox-pip-version\n```\n\nThis works around the default behavior of tox/virtualenv that always installs\nthe latest version pip. It is an improvment over the `VIRTUALENV_NO_DOWNLOAD=1`\noption that does not install the latest version, but could result in usage of\nan outdated version of pip.\n\n*Recommendation*: Do not pin the pip version long term. You get more stable\nrepeatable builds, but at the cost of using an outdated (possibly vulnerable)\npackage. This should be used as a temporary fix for breakages in upstream pip,\nor in conjunction with a regular process to update the version pin.\n\n*Note*: This relies on an [unstable tox plugin interface](\nhttps://tox.readthedocs.io/en/latest/plugins.html#tox.hookspecs.tox_testenv_create).\nYou may experience breakage with new tox versions. If you do, please feel\nfree to [report the issue](https://github.com/pglass/tox-pip-version/issues/new)\non Github.\n\n### Usage\n\nInstall the package and include `pip_version` in your tox.ini\n\n```tox\n[testenv]\npip_version = pip==19.0.1\n```\n\nOr, set the `TOX_PIP_VERSION` environment variable,\n\n```bash\nexport TOX_PIP_VERSION=18.1\ntox\n```\n\nThe plugin will install that version of pip into the tox-created virtualenv,\njust after tox creates the virtualenv, but before dependencies are installed.\n\nThe `pip_version` within tox.ini, if present, is always used over the\nenvironment variable.\n\nIf neither `pip_version` or `TOX_PIP_VERSION` is present, the plugin does\nnothing.\n\n### Version Sets\n\nVersion sets/ranges are supported, enabling installation of a version of pip\nmatching a set of specifiers. There are two basic formats: a plain version\nnumber, or the package name with optional [PEP440-compatible](\nhttps://www.python.org/dev/peps/pep-0440/#version-specifiers) version\nspecifiers.\n\n| tox.ini | effective pip command |\n| ---------------------------- | ---------------------------- |\n| `pip_version = 19.0` | `pip install -U pip==19.0` |\n| `pip_version = pip==19.0` | `pip install -U pip==19.0` |\n| `pip_version = pip>=19.0` | `pip install -U pip>=19.0` |\n| `pip_version = pip!=19,>18` | `pip install -U pip!=19,>18` |\n| `pip_version = pip` | `pip install -U pip` |\n\n### Tests\n\nUse `make test` to run the tests, which includes linting and functional tests.\n\nEach of the `tests/*` directories is a \"feature\" that needs testing. Each\nfeature sub-directory contains a tox.ini file that sets pip version in a\nparticular way, and then uses a tox command to check the correct pip version\nwas installed.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pglass/tox-pip-version", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "tox-pip-version", "package_url": "https://pypi.org/project/tox-pip-version/", "platform": "", "project_url": "https://pypi.org/project/tox-pip-version/", "project_urls": { "Homepage": "https://github.com/pglass/tox-pip-version" }, "release_url": "https://pypi.org/project/tox-pip-version/0.0.7/", "requires_dist": null, "requires_python": "", "summary": "Select PIP version to use with tox", "version": "0.0.7", "yanked": false, "yanked_reason": null }, "last_serial": 6764662, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5a95dda1d6e6d04e1d3aeeded724b6ff", "sha256": "5b022e1986cca8494d3b12e2f64801128c187d85d5c9da53e1f6100a799aac89" }, "downloads": -1, "filename": "tox-pip-version-0.0.1.tar.gz", "has_sig": false, "md5_digest": "5a95dda1d6e6d04e1d3aeeded724b6ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2830, "upload_time": "2019-01-24T17:11:31", "upload_time_iso_8601": "2019-01-24T17:11:31.683267Z", "url": "https://files.pythonhosted.org/packages/19/f7/326447016a3e525afc99889e100899179a6647114b30f4f3e58c8de2fb7d/tox-pip-version-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "1c1edb73afc4daf9344a77f181d4b80a", "sha256": "fc64aa05534fef1d6cbdf07f53c93acbd5ad4605338ac53d042773401ab1b599" }, "downloads": -1, "filename": "tox-pip-version-0.0.2.tar.gz", "has_sig": false, "md5_digest": "1c1edb73afc4daf9344a77f181d4b80a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3009, "upload_time": "2019-02-17T04:36:34", "upload_time_iso_8601": "2019-02-17T04:36:34.600681Z", "url": "https://files.pythonhosted.org/packages/32/da/5a00aab45e2b695a9d0a2979d4ba55fee113d103020611619835e020d01b/tox-pip-version-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "f1aba30bfd60bf324bf00874ef7e29c4", "sha256": "0d46ffbc45fc7a59b1abbfc77da5f7d2e4c7ad28c755a8b55f46317a162c2f94" }, "downloads": -1, "filename": "tox-pip-version-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f1aba30bfd60bf324bf00874ef7e29c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3203, "upload_time": "2019-03-29T16:54:36", "upload_time_iso_8601": "2019-03-29T16:54:36.955908Z", "url": "https://files.pythonhosted.org/packages/20/93/2c2c45a352a3f844ba19308af248a2d4f1281b1fa878192fe24a8f9fa8b4/tox-pip-version-0.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "56e08358e4e10d0f59a7f678b3694e83", "sha256": "b10c405082bc229b20a5fc083c9e7aeecf32c2727f27ad39bcc529708f12a743" }, "downloads": -1, "filename": "tox-pip-version-0.0.4.tar.gz", "has_sig": false, "md5_digest": "56e08358e4e10d0f59a7f678b3694e83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5402, "upload_time": "2019-04-04T22:34:51", "upload_time_iso_8601": "2019-04-04T22:34:51.936357Z", "url": "https://files.pythonhosted.org/packages/6a/58/d9ce4856f5362b0b089a0e2bf575443a0312e974ec85626821c8c1412bb3/tox-pip-version-0.0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "94a5d35730e3670a51edcd3e5bd858cb", "sha256": "4aa7b0379ea4e1ad8413154d284aa1a373e17921f9eee9cc45785316ab0f4c59" }, "downloads": -1, "filename": "tox-pip-version-0.0.5.tar.gz", "has_sig": false, "md5_digest": "94a5d35730e3670a51edcd3e5bd858cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7953, "upload_time": "2019-06-24T19:32:32", "upload_time_iso_8601": "2019-06-24T19:32:32.073676Z", "url": "https://files.pythonhosted.org/packages/61/9f/2ae618f4777705c83e24de59f8bcd4b0a5908c7cf70def3e3e79a1be1001/tox-pip-version-0.0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "901ead74c958c0aad9dbaf1f46585570", "sha256": "f3cb82d52d3e2b0783b91149a723e76a9082f4389b0521014196dbe5fcd50bc4" }, "downloads": -1, "filename": "tox-pip-version-0.0.6.tar.gz", "has_sig": false, "md5_digest": "901ead74c958c0aad9dbaf1f46585570", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7075, "upload_time": "2019-10-23T09:40:29", "upload_time_iso_8601": "2019-10-23T09:40:29.144752Z", "url": "https://files.pythonhosted.org/packages/94/f3/3e68654797b8c42717ba6ae0e4d163f93995d648b493c8699638e4d8f22c/tox-pip-version-0.0.6.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "a92bb40a16e1f818c350828a88598c6a", "sha256": "fff6c54524f1826a13b39aaeba6cd6e38840e9a2efaf6e540e7caa5ff0e705eb" }, "downloads": -1, "filename": "tox-pip-version-0.0.7.tar.gz", "has_sig": false, "md5_digest": "a92bb40a16e1f818c350828a88598c6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8450, "upload_time": "2020-03-06T21:01:35", "upload_time_iso_8601": "2020-03-06T21:01:35.111996Z", "url": "https://files.pythonhosted.org/packages/3c/a1/49c1c3ab6140e72a3ad0439c9dded0f1dae4e5e340f573a5f081b4989b30/tox-pip-version-0.0.7.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a92bb40a16e1f818c350828a88598c6a", "sha256": "fff6c54524f1826a13b39aaeba6cd6e38840e9a2efaf6e540e7caa5ff0e705eb" }, "downloads": -1, "filename": "tox-pip-version-0.0.7.tar.gz", "has_sig": false, "md5_digest": "a92bb40a16e1f818c350828a88598c6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8450, "upload_time": "2020-03-06T21:01:35", "upload_time_iso_8601": "2020-03-06T21:01:35.111996Z", "url": "https://files.pythonhosted.org/packages/3c/a1/49c1c3ab6140e72a3ad0439c9dded0f1dae4e5e340f573a5f081b4989b30/tox-pip-version-0.0.7.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }