Skip to content

Commit

Permalink
pin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
posativ committed May 26, 2013
1 parent 0190ca9 commit 5766f1a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ python:
- 2.7
- 3.2
install:
- pip install --use-mirrors cram unidecode mako jinja2 markdown docutils Attest-latest
- pip install --use-mirrors -r test-requirements.txt
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors
translitcodec argparse; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install --use-mirrors translitcodec; fi
Expand Down
3 changes: 0 additions & 3 deletions requirements.txt → dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
Attest-latest==0.6dev-20121124
cram==0.5

# releasing
zest.releaser

# requirements
Jinja2==2.6
Markdown==2.2.1
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from os.path import join, dirname
from setuptools import setup, find_packages

requires = ['Jinja2>=2.4', 'Markdown>=2.0.1']
requires = ['Jinja2==2.6', 'Markdown>=2.0.1']
kw = {}

if sys.version_info[0] >= 3:
Expand Down Expand Up @@ -52,7 +52,7 @@
extras_require={
'full': ['pygments', 'docutils', 'smartypants', 'asciimathml',
'textile', 'unidecode', 'PyYAML', 'twitter', 'discount'],
'mako': ['mako>=0.7'],
'mako': ['mako==0.7.3'],
},
tests_require=['Attest-latest', 'cram', 'docutils'],
test_loader='attest:auto_reporter.test_loader',
Expand Down
14 changes: 14 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# testing
Attest-latest==0.6dev-20121124
cram==0.5

# requirements
Jinja2==2.6
Markdown>=2.0.1
translitcodec>=0.2

# optional
Mako==0.7.3
Pygments
docutils
unidecode

0 comments on commit 5766f1a

Please sign in to comment.