Skip to content

Commit

Permalink
Fixed prerequisites and minimum versions
Browse files Browse the repository at this point in the history
Details:

* Added PyYAML>=5.1 to requirements.txt, because it is a direct prereq of
  pywbemtools for installation.

* Added minimum versions of all indirectly referenced packages to
  minimum-constraints.txt, making sure that the requirements of their
  referencing packages are satisfied, that the Python versions needed
  by pywbemtools are supported, and that the versions are not too old
  and not too fresh.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed Oct 4, 2019
1 parent 047e9b1 commit d945b06
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
7 changes: 7 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ Released: not yet
* Fixed that the 'class find' command showed the --namespace option twice
(see issue #417)

* Added PyYAML>=5.1 as a prerequisite package for pywbemtools for installation.
So far, it was pulled in indirectly via pywbem.

**Enhancements:**

**Cleanup:**
Expand All @@ -42,6 +45,10 @@ Released: not yet
it fixed an issue that surfaced with pywbem minimum package levels
on Python 3.7.

* Test: Added missing indirectly referenced prerequisite packages to
minimum-constraints.txt, for a defined package level when testing with
PACKAGE_LEVEL=minimum.

**Known issues:**

* See `list of open issues`_.
Expand Down
28 changes: 26 additions & 2 deletions minimum-constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ asciitree==0.3.3
tabulate==0.8.2
prompt-toolkit==1.0.15; python_version == '2.7'
prompt-toolkit==2.0.1; python_version >= '3.4'
PyYAML==5.1

# Indirect dependencies for install (not in requirements.txt)

Expand All @@ -64,7 +65,6 @@ mock==2.0.0
ordereddict==1.1
pbr==1.10.0
ply==3.10
PyYAML==3.13
six==1.10.0
typing==3.6.1 # from M2Crypto

Expand Down Expand Up @@ -117,60 +117,84 @@ twine==1.8.1
#jupyter==1.0.0

# Indirect dependencies for develop (not in dev-requirements.txt)

alabaster==0.7.9
appnope==0.1.0
args==0.1.0
atomicwrites==1.2.1
attrs==18.2.0
Babel==2.3.4
backports.functools-lru-cache==1.5; python_version < "3.3"
bleach==2.1.4
certifi==2019.9.11
chardet==3.0.2
clint==0.5.1
configparser==4.0.2
contextlib2==0.6.0
coverage==4.0.3
decorator==4.0.10
docutils==0.13.1
entrypoints==0.2.2
enum34==1.1.6; python_version < "3.4"
filelock==3.0.0
functools32==3.2.3; python_version < "3.2"
futures==3.3.0; python_version < "3.2"
gitdb2==2.0.0
html5lib==0.999999999
idna==2.5
imagesize==0.7.1
importlib-metadata==0.12
ipykernel==4.5.2
ipython==5.1.0
ipython_genutils==0.1.0
ipywidgets==5.2.2
isort==4.2.15
Jinja2==2.8
jsonschema==2.5.1
jupyter_client==4.4.0
jupyter_console==5.0.0
jupyter_core==4.2.1
lazy-object-proxy==1.4.2
linecache2==1.0.0
MarkupSafe==0.23
mistune==0.8.1
more-itertools==5.0.0,<6.0.0
nbconvert==5.0.0
nbformat==4.2.0
notebook==4.3.1
packaging==19.2
pandocfilters==1.4.1
pathlib2==2.2.1
pexpect==4.2.1
pickleshare==0.7.4
pkginfo==1.4.1
pluggy==0.12.0
ptyprocess==0.5.1
py==1.5.1
Pygments==2.1.3
pyparsing==2.3.1
pytz==2016.10
pyzmq==16.0.4
qtconsole==4.2.1
readme-renderer==21.0
requests-toolbelt==0.7.0
scandir==1.9.0
sh==1.12.14
simplegeneric==0.8.1
singledispatch==3.4.0.3; python_version < "3.4"
smmap2==2.0.1
snowballstemmer==1.2.1
sphinxcontrib-websupport==1.1.2
terminado==0.6
testpath==0.3
toml==0.10.0
tornado==4.4.2
tqdm==4.28.1
traceback2==1.4.0
traitlets==4.3.1
urllib3==1.23
virtualenv==14.0.0
wcwidth==0.1.7
webencodings==0.5.1
widgetsnbextension==1.2.6
wrapt==1.11.2
zipp==0.5.2
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ tabulate>=0.8.2
prompt-toolkit>=2.0.1; python_version >= '3.4'
# See pywbemtools issue # 192. The repl mode fails with unexpected Exception
prompt-toolkit>=1.0.15,<2.0.0; python_version == '2.7'
PyYAML>=5.1

0 comments on commit d945b06

Please sign in to comment.