Skip to content

Commit

Permalink
test: graph-tool properly installed using tox-conda (requires conda)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkemnitz committed Jun 29, 2022
1 parent 9520487 commit 8b2bbef
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 25 deletions.
4 changes: 3 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
pylint
black
pyopenssl
jupyter
jupyter
codecov
ipython
31 changes: 16 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
protobuf~=3.20
urllib3>=1.26.3
cloud-files>=1.25.2
protobuf~=3.20 # 2022-06-29: Error "If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0."
requests>=2.25.0
grpcio>=1.36.1
certifi>=2020.12.5
cloud-volume==6.1.1
numpy
pandas
networkx==2.1
networkx>=2.1
google-cloud-bigtable>=0.33.0
google-cloud-datastore>=1.8<=2.0dev
google-cloud-datastore>=1.8
flask
flask_cors
codecov
multiwrapper
python-json-logger
zstandard
redis
rq
pyyaml
cachetools
werkzeug

# PyPI only:
cloud-files>=1.25.2
cloud-volume>=6.1.1
multiwrapper
middle-auth-client>=3.11.0
zmesh
fastremap
pyyaml
cachetools
task-queue==1.0.0
task-queue
messagingclient
jsonschema<4.0
importlib-metadata>=4.5.0
dracopy<=0.0.19
dracopy

# Conda only - use requirements.yml (or install manually):
# graph-tool
10 changes: 10 additions & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: pychunkedgraph
channels:
- conda-forge
dependencies:
- python~=3.7
- pip
- graph-tool-base
- uwsgi
- pip:
- -r requirements.txt
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[tox]
envlist = py37dev
envlist = py310
requires = tox-conda

[testenv]
setenv = HOME = {env:HOME}
usedevelop = true
sitepackages = true

deps = pytest
pytest-cov
pytest-mock
pytest-timeout
numpy
conda_env = requirements.yml
commands = python -m pytest -v {posargs} ./pychunkedgraph/tests/
install_command = {toxinidir}/tox_install_command.sh {opts} {packages}
4 changes: 0 additions & 4 deletions tox_install_command.sh

This file was deleted.

0 comments on commit 8b2bbef

Please sign in to comment.