File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
dongtai_agent_python/utils/shm Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,13 @@ jobs:
5656
5757 - name : Run Vul test
5858 run : |
59- curl --fail --retry-delay 10 --retry 30 --retry-connrefused http://127.0.0.1:8003/api/django/demo/get_open?name=Data
6059 cd ${{ github.workspace }}/DockerVulspace
60+ curl --fail --retry-delay 10 --retry 30 --retry-connrefused http://127.0.0.1:8003/api/django/demo/get_open?name=Data
61+ docker-compose logs djangoweb flaskweb
6162 docker-compose exec -T djangoweb python -V
6263 docker-compose exec -T djangoweb pip list
6364 docker-compose exec -T flaskweb python -V
6465 docker-compose exec -T flaskweb pip list
65- docker-compose logs djangoweb flaskweb
6666 bash ${{ github.workspace }}/DongTai-agent-python/dongtai_agent_python/tests/vul-test.sh \
6767 django http://127.0.0.1:8003/api/django ${{ github.run_id }}
6868 bash ${{ github.workspace }}/DongTai-agent-python/dongtai_agent_python/tests/vul-test.sh \
Original file line number Diff line number Diff line change 66
77from dongtai_agent_python .utils .lock import lock
88
9- if sys .version_info [:3 ] <= (3 , 7 ):
9+ if sys .version_info [:3 ] < (3 , 8 ):
1010 from shared_memory .shared_memory import SharedMemory
1111else :
1212 from multiprocessing .shared_memory import SharedMemory
Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ install_requires =
2929 psutil >= 5.8.0
3030 requests >= 2.25.1
3131 pip >= 19.2.3
32- shared-memory38 >= 0.1.2; python_version <= '3.7 '
32+ shared-memory38 >= 0.1.2; python_version < '3.8 '
3333; regexploit >= 1.0.0
You can’t perform that action at this time.
0 commit comments