Skip to content
Permalink
Browse files

Freeze all dependencies

  • Loading branch information...
Adrien Gentil
Adrien Gentil committed Jun 21, 2019
1 parent 9fae566 commit 91e4d9a47585bb30ded3a1e8f7ae0adaaba46f94
Showing with 57 additions and 15 deletions.
  1. +1 −1 MANIFEST.in
  2. +48 −0 freeze-requirements.txt
  3. +5 −0 requirements.txt
  4. +1 −10 setup.py
  5. +0 −2 tests-requirements.txt
  6. +2 −2 tox.ini
@@ -3,7 +3,7 @@ include MANIFEST.in
# These files are referenced from setup.py so we must make sure
# of including them in the source distribution.
include README.md
include requirements.txt tests-requirements.txt
include freeze-requirements.txt tests-requirements.txt
include biggraphite/drivers/elasticsearch_schema.json
recursive-include biggraphite/cli/web/templates *
recursive-include biggraphite/cli/web/static *
@@ -0,0 +1,48 @@
attrs==19.1.0
Automat==0.7.0
blinker==1.4
cachetools==3.1.1
cairocffi==0.9.0
cassandra-driver==3.17.1
certifi==2019.6.16
cffi==1.12.3
ciso8601==2.1.1
Click==7.0
constantly==15.1.0
contextlib2==0.5.5; python_version < '3'
elasticsearch==6.4.0
elasticsearch-dsl==6.4.0
enum34==1.1.6; python_version < '3.4'
Flask==1.0.3
Flask-Twisted==0.1.2
future==0.17.1
futures==3.2.0; python_version < '3'
gourde==0.2.1
humanize==0.5.1
hyperlink==19.0.0
idna==2.8
incremental==17.5.0
ipaddress==1.0.22; python_version < '3'
itsdangerous==1.1.0
Jinja2==2.10.1
lmdb==0.95
MarkupSafe==1.1.1
observable==1.0.3
parsedatetime==2.4
progressbar2==3.42.0
prometheus-client==0.5.0
prometheus-flask-exporter==0.8.1
pycparser==2.19
PyHamcrest==1.9.0
python-dateutil==2.8.0
python-utils==2.3.0
raven==6.10.0
scales==1.0.9
scandir==1.10.0
six==1.12.0
sortedcontainers==2.1.0
tabulate==0.8.3
Twisted==19.2.1
urllib3==1.25.3
Werkzeug==0.15.4
zope.interface==4.6.0
@@ -34,6 +34,11 @@ lmdb

# Python 2.x compatibility
cairocffi==0.9.0
contextlib2; python_version < '3'
futures; python_version < '3'
ipaddress; python_version < '3'

enum34; python_version < '3.4'

# Optional, for bgutil shell:
# ipython
@@ -19,9 +19,6 @@
import sys


PY3 = sys.version_info.major == 3


def _read(relpath):
fullpath = os.path.join(os.path.dirname(__file__), relpath)
with open(fullpath) as f:
@@ -35,18 +32,12 @@ def _read_reqs(relpath):
if (s.strip() and not s.startswith("#"))]


_REQUIREMENTS_TXT = _read_reqs("requirements.txt")
_REQUIREMENTS_TXT = _read_reqs("freeze-requirements.txt")
_DEPENDENCY_LINKS = [l for l in _REQUIREMENTS_TXT if "://" in l]
_INSTALL_REQUIRES = [l for l in _REQUIREMENTS_TXT if "://" not in l]


if not PY3:
_INSTALL_REQUIRES += ('futures', 'enum34')


packages = setuptools.find_packages()


setuptools.setup(
name="biggraphite",
version="0.14.14",
@@ -24,8 +24,6 @@ dpkt
graphite-web
pytz
carbon
twisted
zope.interface
whisper

# We could use Django<2.0 but we match what graphite requires instead.
@@ -17,7 +17,7 @@ envlist = {py27,py36,pypy}-coverage,pylama
[testenv]
commands =
# Can't put that in deps because carbon needs six.
pip install -r requirements.txt -r tests-requirements.txt
pip install -r freeze-requirements.txt -r tests-requirements.txt
coverage erase
coverage run \
--omit=biggraphite/test_utils.py \
@@ -49,6 +49,6 @@ basepython = pypy
changedir = benchmarks
deps = {[testenv]deps}
commands =
pip install -r requirements.txt -r tests-requirements.txt
pip install -r freeze-requirements.txt -r tests-requirements.txt
pytest {posargs}
sitepackages = true

0 comments on commit 91e4d9a

Please sign in to comment.
You can’t perform that action at this time.