This is an automated email from the ASF dual-hosted git repository.
kenhuuu pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/3.7-dev by this push:
new a795d38afc Clean up gremlin-python docker-compose after move to newer
setuptools CTR
a795d38afc is described below
commit a795d38afc6be7bd501a27c757679f78855f2eca
Author: Ken Hu <[email protected]>
AuthorDate: Tue Oct 14 15:04:05 2025 -0700
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.
---
gremlin-python/docker-compose.yml | 4 +---
gremlin-python/src/main/python/pyproject.toml | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/gremlin-python/docker-compose.yml
b/gremlin-python/docker-compose.yml
index a1f17c5b88..9879ae8a0c 100644
--- a/gremlin-python/docker-compose.yml
+++ b/gremlin-python/docker-compose.yml
@@ -69,10 +69,8 @@ services:
bash -c "apt-get update && apt-get -y install libkrb5-dev krb5-user
&& echo 'password' | kinit stephen
&& klist
- && pip install wheel radish-bdd PyHamcrest aenum isodate kerberos
- && pip install -e .[test]
+ && pip install .[test,kerberos]
&& pytest
- && pip install .
&& radish -f dots -e -t -b ./radish ./gremlin-test
--user-data='serializer=application/vnd.gremlin-v3.0+json'
&& radish -f dots -e -t -b ./radish ./gremlin-test
--user-data='serializer=application/vnd.graphbinary-v1.0';
EXIT_CODE=$$?; chown -R `stat -c "%u:%g" .` .; exit $$EXIT_CODE"
diff --git a/gremlin-python/src/main/python/pyproject.toml
b/gremlin-python/src/main/python/pyproject.toml
index 4410d5082f..89af9a6a30 100644
--- a/gremlin-python/src/main/python/pyproject.toml
+++ b/gremlin-python/src/main/python/pyproject.toml
@@ -49,7 +49,7 @@ kerberos = ["kerberos>=1.3.0,<2.0.0"]
ujson = ["ujson>=2.0.0"]
test = [
"pytest>=4.6.4,<7.2.0",
- "radish-bdd==0.13.4",
+ "radish-bdd==0.18.2",
"PyHamcrest>=1.9.0,<3.0.0",
"PyYAML>=5.3"
]