Skip to content

Commit

Permalink
More dependency tweaks and update commandline for pip-compile
Browse files Browse the repository at this point in the history
  • Loading branch information
nzlosh committed Apr 3, 2024
1 parent 647fca8 commit 1659e96
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 16 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,8 @@ check-dependency-conflicts:
@echo
# Verify there are no conflicting dependencies
cat st2*/requirements.txt contrib/runners/*/requirements.txt | sort -u > req.txt && \
$(VIRTUALENV_DIR)/bin/pip-compile req.txt || exit 1; \
if [[ -e req.txt ]]; then rm req.txt; fi
$(VIRTUALENV_DIR)/bin/pip-compile --strip-extras --output-file req.out req.txt || exit 1; \
rm -f req.txt req.out

.PHONY: virtualenv
# Note: We always want to update virtualenv/bin/activate file to make sure
Expand Down
3 changes: 2 additions & 1 deletion contrib/runners/orquesta_runner/in-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
orquesta@ git+https://github.com/StackStorm/orquesta.git@v1.6.0
#orquesta@ git+https://github.com/StackStorm/orquesta.git@v1.6.0
orquesta@ git+https://github.com/nzlosh/orquesta.git@st2v39_compat
2 changes: 1 addition & 1 deletion contrib/runners/orquesta_runner/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# If you want to update depdencies for a single component, modify the
# in-requirements.txt for that component and then run 'make requirements' to
# update the component requirements.txt
orquesta@ git+https://github.com/StackStorm/orquesta.git@v1.6.0
orquesta@ git+https://github.com/nzlosh/orquesta.git@st2v39_compat
4 changes: 2 additions & 2 deletions fixed-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pyOpenSSL==24.1.0
# 202403: switch from python-editor to editor for py3.10 support
editor==1.6.6
# editor dependency, required here for inclusion in st2client setup.py
Pygments==2.5.2
pygments==2.5.2
# 202404: Use latest chardet for tox / and cross project dependency Orquesta.
chardet==5.2.0
python-keyczar==0.716
Expand Down Expand Up @@ -86,7 +86,7 @@ tenacity>=3.2.1,<7.0.0
tooz==2.8.0
# Note: virtualenv embeds wheels for pip, wheel, and setuptools. So pinning virtualenv pins those as well.
# virtualenv==20.4.0 (<21) has pip==20.3.3 wheel==0.36.2 setuptools==51.3.3
virtualenv==20.4.0
virtualenv==20.25.1
webob==1.8.7
zake==0.2.2
# test requirements below
Expand Down
4 changes: 2 additions & 2 deletions lockfiles/st2.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
// "CPython==3.9.*"
// ],
// "generated_with_requirements": [
// "Pygments==2.5.2",
// "RandomWords",
// "apscheduler==3.7.0",
// "argcomplete==3.2.3",
Expand Down Expand Up @@ -45,6 +44,7 @@
// "prettytable==2.1.0",
// "prompt-toolkit==3.0.43",
// "psutil==5.8.0",
// "pygments==2.5.2",
// "pyinotify<=0.10,>=0.9.5; platform_system == \"Linux\"",
// "pylint==3.1.0",
// "pymongo<3.13.0,>=3.11.0",
Expand Down Expand Up @@ -4228,7 +4228,6 @@
"pip_version": "23.1.2",
"prefer_older_binary": false,
"requirements": [
"Pygments==2.5.2",
"RandomWords",
"apscheduler==3.7.0",
"argcomplete==3.2.3",
Expand Down Expand Up @@ -4264,6 +4263,7 @@
"prettytable==2.1.0",
"prompt-toolkit==3.0.43",
"psutil==5.8.0",
"pygments==2.5.2",
"pyinotify<=0.10,>=0.9.5; platform_system == \"Linux\"",
"pylint==3.1.0",
"pymongo<3.13.0,>=3.11.0",
Expand Down
2 changes: 1 addition & 1 deletion requirements-pants.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pylint==3.1.0
pytest==6.2.5
python-dateutil==2.8.1
editor==1.6.6
Pygments==2.5.2
pygments==2.5.2
# pythonjsonlogger referenced in st2actions/conf/logging.conf
python-json-logger
python-statsd==2.1.0
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# in-requirements.txt for that component and then run 'make requirements' to
# update the component requirements.txt
MarkupSafe==2.1.5
Pygments==2.5.2
RandomWords
amqp<6.0.0,>=5.1.1
apscheduler==3.7.0
Expand Down Expand Up @@ -45,6 +44,7 @@ prettytable==2.1.0
prompt-toolkit==3.0.43
psutil==5.8.0
pyOpenSSL==24.1.0
pygments==2.5.2
pyinotify==0.9.6 ; platform_system=="Linux"
pymongo>=3.11.0,<3.13.0
pyparsing<3
Expand Down
2 changes: 1 addition & 1 deletion st2client/in-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ requests
six
sseclient-py
editor
Pygments
pygments
prompt-toolkit
# mention cffi used by cryptography so we can control version
cffi
Expand Down
2 changes: 1 addition & 1 deletion st2client/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# If you want to update depdencies for a single component, modify the
# in-requirements.txt for that component and then run 'make requirements' to
# update the component requirements.txt
Pygments==2.5.2
argcomplete==3.2.3
cffi<1.15.0
chardet==5.2.0
Expand All @@ -18,6 +17,7 @@ orjson==3.5.2
prettytable==2.1.0
prompt-toolkit==3.0.43
pyOpenSSL==24.1.0
pygments==2.5.2
pysocks
python-dateutil==2.8.1
pytz==2021.1
Expand Down
5 changes: 1 addition & 4 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ pyrabbit
# 202403: Bumped to 23.6.21.0 for py3.10 support
prance==23.6.21.0
# pip-tools provides pip-compile: to check for version conflicts
# pip-tools 5.3 needs pip<20.3
# pip-tools 5.4 needs pip>=20.1
# pip-tools 6.0 needs pip>=20.3
pip-tools>=5.4,<6.1
pip_tools==7.4.1
# 202403: Use 6.2.5 for py3.10 support
pytest==6.2.5
pytest-cov==4.1.0
Expand Down

0 comments on commit 1659e96

Please sign in to comment.