Skip to content

Commit 5e2bdbb

Browse files
committed
allowing dependency version range within the same major version
1 parent 72a8383 commit 5e2bdbb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ before_install:
3131

3232
install:
3333
# install all of the dependencies we need here
34-
- pip install nose==1.3.7
34+
- pip install nose==1.*
3535
- pip install pyxb==1.2.5
3636
# can't change the pyxb version without changing the version in setup.py
3737
# and regenerating the bindings in apicontractsv1.py
38-
- pip install lxml==4.2.1
39-
- pip install requests==2.18.4
38+
- pip install lxml==4.*
39+
- pip install requests==2.*
4040
- if [[ "$TEST_SUITE" == "coverage" ]]; then pip install coveralls; fi
4141

4242
before_script:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@
6363
# your project is installed. For an analysis of "install_requires" vs pip's
6464
# requirements files see:
6565
# https://packaging.python.org/en/latest/requirements.html
66-
install_requires=['pyxb==1.2.5', 'lxml==4.2.1', 'requests==2.18.4'],
66+
install_requires=['pyxb==1.2.5', 'lxml==4.*', 'requests==2.*'],
6767
#install_requires=['nose'],
6868
#install_requires=['nosetests'],
6969
#install_requires=['mock'],
7070
#install_requires=['lxml'],
7171

72-
tests_require = ['nose==1.3.7', 'mock==2.0.0'],
72+
tests_require = ['nose==1.*', 'mock==2.*'],
7373
# List additional groups of dependencies here (e.g. development
7474
# dependencies). You can install these using the following syntax,
7575
# for example:

0 commit comments

Comments
 (0)