Skip to main content

A tiny console script to verify you have pinned all of your python requirements

Project description

A tiny console script to verify you have pinned all of your python requirements.

Why you should specify exact version in requirements.txt

Example:

$ cat requirements.txt
PIL
coveralls>=1.0a1
responses==0.3.0
git+https://github.com/miracle2k/django-assets.git@master#egg=django_assets
-e git+git://github.com/miracle2k/webassets.git@9956fb86c1c750672324b2c95c9a464a0ef11a4f#egg=webassets
git+https://github.com/fcurella/django-recommends.git#egg=django_recommends

$ pinner
./requirements.txt:1:1: R001 Dependency PIL not pinned
./requirements.txt:2:1: R002 Dependency coveralls should be pinned to exact version
./requirements.txt:4:1: R004 VCS dependency django_assets specifies branch/tag, commit expected
./requirements.txt:6:1: R003 VCS dependency django_recommends lacks revision specifier
[4]

You can use it in your commit hook or CI tests

Changelog

0.1.0 (2015-03-01)

  • First release on PyPI

Project details


Release history Release notifications

This version
History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pinner-1.0-py2.py3-none-any.whl (5.7 kB) Copy SHA256 hash SHA256 Wheel 2.7 Mar 1, 2015
pinner-1.0.tar.gz (7.0 kB) Copy SHA256 hash SHA256 Source None Mar 1, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page