Skip to content

Commit a795d38

Browse files
committed
Clean up gremlin-python docker-compose after move to newer setuptools CTR
Since pip is used instead of setup.py, the dependencies are installed directly from the pyproject.toml. radish is set to a newer version as the older version isn't able to read all the feature tags properly. This version was already used in practice before as it was picked up at runtime rather than the one specified in the setup.py.
1 parent fb20adf commit a795d38

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

gremlin-python/docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,8 @@ services:
6969
bash -c "apt-get update && apt-get -y install libkrb5-dev krb5-user
7070
&& echo 'password' | kinit stephen
7171
&& klist
72-
&& pip install wheel radish-bdd PyHamcrest aenum isodate kerberos
73-
&& pip install -e .[test]
72+
&& pip install .[test,kerberos]
7473
&& pytest
75-
&& pip install .
7674
&& radish -f dots -e -t -b ./radish ./gremlin-test --user-data='serializer=application/vnd.gremlin-v3.0+json'
7775
&& radish -f dots -e -t -b ./radish ./gremlin-test --user-data='serializer=application/vnd.graphbinary-v1.0';
7876
EXIT_CODE=$$?; chown -R `stat -c "%u:%g" .` .; exit $$EXIT_CODE"

gremlin-python/src/main/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ kerberos = ["kerberos>=1.3.0,<2.0.0"]
4949
ujson = ["ujson>=2.0.0"]
5050
test = [
5151
"pytest>=4.6.4,<7.2.0",
52-
"radish-bdd==0.13.4",
52+
"radish-bdd==0.18.2",
5353
"PyHamcrest>=1.9.0,<3.0.0",
5454
"PyYAML>=5.3"
5555
]

0 commit comments

Comments
 (0)