{ "info": { "author": "Marc Abramowitz", "author_email": "msabramo@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "flake8-exact-pin\n================\n\nCheck for exact pins (``==``) of package requirements in ``install_requires``\nin ``setup.py``.\n\nFor example:\n\n.. code-block:: python\n\n setup(\n # ...\n install_requires=['pyramid==1.5.6'],\n # ...\n )\n\nExact pins are often a bad idea, as they:\n\n- Limit flexibility if your package is going to be reused; i.e.: used as a\n library by other Python libraries or applications. You are forcing them to\n use a particular version that they may not want to use or that conflicts with\n what they already use. Not so much of an issue if your package is an\n application rather than a library; however, often `requirements.txt` is a\n better place to manage application requirements that you are pinning (see\n https://caremad.io/blog/setup-vs-requirement/)\n\n- Bake a very strict requirement into your package; you may have to rebuild\n your package just to use a new version of a package with a bug fix.\n\n- Create the potential for hard-to-resolve version conflicts, if you exact pin\n some package versions and don't exact pin others. Some of your other packages\n may require a different version than the one you're pinning and it might be\n impossible for pip to resolve this.\n\nInstallation\n------------\n\nIf you don't already have it, install ``flake8``::\n\n $ pip install flake8\n\nThen, install the extension::\n\n $ pip install flake8-exact-pins\n\nUsage\n-----\n\nRun the following to verify that the plugin has been installed correctly::\n\n $ flake8 --version\n 2.4.1 (pep8: 1.5.7, flake8-exact-pin: 0.0.0, pyflakes: 0.8.1, mccabe: 0.3) CPython 2.7.9 on Darwin\n\nNow, when you run ``flake8``, the plugin will automatically be used.\n\nWhen an exact pin is found, ``flake8`` will output something like::\n\n ./setup.py:28:37: P001 exact pin found in install_requires: \"pyramid==1.5.6\"\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/msabramo/flake8-exact-pin", "keywords": "flake8 setup.py pin dependencies", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "flake8-exact-pin", "package_url": "https://pypi.org/project/flake8-exact-pin/", "platform": "", "project_url": "https://pypi.org/project/flake8-exact-pin/", "project_urls": { "Homepage": "https://github.com/msabramo/flake8-exact-pin" }, "release_url": "https://pypi.org/project/flake8-exact-pin/0.0.2/", "requires_dist": [ "setuptools" ], "requires_python": "", "summary": "A flake8 extension that checks for exact pins (e.q.: `foo==1.5.6`) in setup.py", "version": "0.0.2" }, "last_serial": 5677425, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "003b4c09229022c27168a2c222ae0ccf", "sha256": "54169d1e755ee9a083f20b4b14487f90a2b7856c66e99886b7e9febae7f25862" }, "downloads": -1, "filename": "flake8-exact-pin-0.0.0.tar.gz", "has_sig": false, "md5_digest": "003b4c09229022c27168a2c222ae0ccf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2974, "upload_time": "2015-06-02T01:34:33", "url": "https://files.pythonhosted.org/packages/2c/40/f3142d09a382414ad9da7bdaec8fa51b3023e1eaeea8209249e1bda8cf24/flake8-exact-pin-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "5b9d662aa7250a5dbd36d1dbc2d7aa4e", "sha256": "8e4ecb996fdedde95dc1911d68d58e88c021a5477f22d8edd16288078ffff9db" }, "downloads": -1, "filename": "flake8_exact_pin-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "5b9d662aa7250a5dbd36d1dbc2d7aa4e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5248, "upload_time": "2015-06-25T23:27:41", "url": "https://files.pythonhosted.org/packages/95/8e/edd96547e9c602e37de8851018ee4332bc7029b40c2cb05a472a383dd70b/flake8_exact_pin-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f782fd6d294b69e32346df2b5bee4661", "sha256": "535efe39271408d745e9a54ac45c2449746419c44199f3507e84b6ac3f2d217d" }, "downloads": -1, "filename": "flake8-exact-pin-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f782fd6d294b69e32346df2b5bee4661", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3038, "upload_time": "2015-06-25T23:27:37", "url": "https://files.pythonhosted.org/packages/bd/bb/1a86841c7cc990f0fb3ae7adddbca84d7f02b1e8ec48dc03ba97c72f7c43/flake8-exact-pin-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "1307f91c6bd0c6f8fcb0e01d1d71f48e", "sha256": "ae20a80e517bd985d96f30ec5f4ca71aa1fad7c36a59c563b495bd89486b1083" }, "downloads": -1, "filename": "flake8_exact_pin-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "1307f91c6bd0c6f8fcb0e01d1d71f48e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4353, "upload_time": "2019-08-14T14:40:59", "url": "https://files.pythonhosted.org/packages/ba/ae/12733dd625e25684505a5e77e7ad89df71d3ef46d5a77e89b405e5264b85/flake8_exact_pin-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5d7e0542a8e4b27d2a2e1b8575345f3b", "sha256": "7807780e1113f1066857c9f22a88e36841f7ce509cce9be8d7fb2e16f6dc0254" }, "downloads": -1, "filename": "flake8-exact-pin-0.0.2.tar.gz", "has_sig": false, "md5_digest": "5d7e0542a8e4b27d2a2e1b8575345f3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3182, "upload_time": "2019-08-14T14:41:01", "url": "https://files.pythonhosted.org/packages/44/19/36026e2d93a580ccfbf2b9dca34a8d19c7326932a8c0257eb9f7303447ef/flake8-exact-pin-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1307f91c6bd0c6f8fcb0e01d1d71f48e", "sha256": "ae20a80e517bd985d96f30ec5f4ca71aa1fad7c36a59c563b495bd89486b1083" }, "downloads": -1, "filename": "flake8_exact_pin-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "1307f91c6bd0c6f8fcb0e01d1d71f48e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4353, "upload_time": "2019-08-14T14:40:59", "url": "https://files.pythonhosted.org/packages/ba/ae/12733dd625e25684505a5e77e7ad89df71d3ef46d5a77e89b405e5264b85/flake8_exact_pin-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5d7e0542a8e4b27d2a2e1b8575345f3b", "sha256": "7807780e1113f1066857c9f22a88e36841f7ce509cce9be8d7fb2e16f6dc0254" }, "downloads": -1, "filename": "flake8-exact-pin-0.0.2.tar.gz", "has_sig": false, "md5_digest": "5d7e0542a8e4b27d2a2e1b8575345f3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3182, "upload_time": "2019-08-14T14:41:01", "url": "https://files.pythonhosted.org/packages/44/19/36026e2d93a580ccfbf2b9dca34a8d19c7326932a8c0257eb9f7303447ef/flake8-exact-pin-0.0.2.tar.gz" } ] }