Skip to content

Commit

Permalink
Update dependencies to current as of 2018-02-15
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerdahl committed Feb 15, 2018
1 parent edbc465 commit 21e16da
Show file tree
Hide file tree
Showing 15 changed files with 49 additions and 46 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,6 @@ Check that there are no package version conflicts:

$ pip check

Some sample files contain the version tag and must be updated when the version changes.

$ pytest -xvs --sample-ask

Commit and push the changes, and check the build on Travis.

#### Building the release packages
Expand Down
6 changes: 3 additions & 3 deletions client_cli/src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
def main():
setuptools.setup(
name='dataone.cli',
version='2.4.1',
version='2.4.2',
description='Command-Line Interface (CLI) for DataONE',
author='DataONE Project',
author_email='developers@dataone.org',
Expand All @@ -37,8 +37,8 @@ def main():
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=[
'dataone.common == 2.4.1',
'dataone.libclient == 2.4.1',
'dataone.common == 2.4.2',
'dataone.libclient == 2.4.2',
#
'requests == 2.18.4',
],
Expand Down
8 changes: 4 additions & 4 deletions client_onedrive/src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
def main():
setuptools.setup(
name='dataone.onedrive',
version='2.4.1',
version='2.4.2',
description='Filesystem access to the DataONE Workspace',
author='DataONE Project',
author_email='developers@dataone.org',
Expand All @@ -41,12 +41,12 @@ def main():
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=[
'dataone.common == 2.4.1',
'dataone.libclient == 2.4.1',
'dataone.common == 2.4.2',
'dataone.libclient == 2.4.2',
#
'fusepy == 2.0.4',
'pyxb == 1.2.6',
'pyzotero == 1.3.0',
'pyzotero == 1.3.1',
'rdflib == 4.2.2',
'requests == 2.18.4',
],
Expand Down
13 changes: 11 additions & 2 deletions dev_tools/src/d1_dev/pip-update-all.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@
import subprocess
import sys

NO_UPGRADE_LIST = ['Django']
NO_UPGRADE_LIST = [
'Django', # We're on the last version that supports Python 2.
'pygobject', # build error
'zope.interface', # build error
]


def main():
Expand All @@ -44,7 +48,12 @@ def main():
freeze_str = subprocess.check_output(['pip', 'freeze'])

for line_str in freeze_str.splitlines():
pkg_str, ver_str = line_str.strip().split('==')
print '#### {}'.format(line_str)
try:
pkg_str, ver_str = line_str.strip().split('==')
except ValueError:
print 'Skipped'
continue
if pkg_str in NO_UPGRADE_LIST:
logging.warn(
'Skipped package in NO_UPGRADE_LIST. pkg_str="{}"'.format(pkg_str)
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
def main():
setuptools.setup(
name='dataone.dev',
version='2.4.1',
version='2.4.2',
description='DataONE developer tools',
author='DataONE Project',
author_email='developers@dataone.org',
Expand Down
2 changes: 1 addition & 1 deletion gmn/src/d1_gmn/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.4.1'
__version__ = '2.4.2'
12 changes: 6 additions & 6 deletions gmn/src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def main():
# noinspection PyUnresolvedReferences
setuptools.setup(
name='dataone.gmn',
version='2.4.1',
version='2.4.2',
description='DataONE Generic Member Node (GMN)',
author='DataONE Project',
author_email='developers@dataone.org',
Expand All @@ -43,14 +43,14 @@ def main():
'': ['settings.py'],
},
install_requires=[
'dataone.cli == 2.4.1',
'dataone.common == 2.4.1',
'dataone.libclient == 2.4.1',
'dataone.scimeta == 2.4.1',
'dataone.cli == 2.4.2',
'dataone.common == 2.4.2',
'dataone.libclient == 2.4.2',
'dataone.scimeta == 2.4.2',
#
'django == 1.11.7',
'iso8601 == 0.1.12',
'psycopg2 == 2.7.3.2',
'psycopg2 == 2.7.4',
'PyJWT == 1.5.3',
'pyxb == 1.2.6',
'requests == 2.18.4',
Expand Down
6 changes: 3 additions & 3 deletions lib_client/src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
def main():
setuptools.setup(
name='dataone.libclient',
version='2.4.1',
version='2.4.2',
description='A DataONE client library for Python',
author='DataONE Project',
author_email='developers@dataone.org',
Expand All @@ -37,9 +37,9 @@ def main():
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=[
'dataone.common == 2.4.1',
'dataone.common == 2.4.2',
#
'cachecontrol == 0.12.3',
'cachecontrol == 0.12.4',
'pyxb == 1.2.6',
'requests-toolbelt == 0.8.0',
'requests[security] == 2.18.4',
Expand Down
2 changes: 1 addition & 1 deletion lib_common/src/d1_common/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
)

# Version of the DataONE Python stack
VERSION = '2.4.1'
VERSION = '2.4.2'

# Maximum number of entries per list objects request
MAX_LISTOBJECTS = 1000
Expand Down
2 changes: 1 addition & 1 deletion lib_common/src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
def main():
setuptools.setup(
name='dataone.common',
version='2.4.1',
version='2.4.2',
description=(
'Contains functionality common to projects that interact with '
'the DataONE infrastructure via Python'
Expand Down
2 changes: 1 addition & 1 deletion lib_scimeta/src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
def main():
setuptools.setup(
name='dataone.scimeta',
version='2.4.1',
version='2.4.2',
description='Utilities for processing Science Metadata',
author='DataONE Project',
author_email='developers@dataone.org',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
import sys
import time

import requests

import d1_common.const
import d1_common.types.exceptions
import d1_common.url
Expand Down Expand Up @@ -189,11 +187,11 @@ def main():
while True:
time.sleep(.1)
else:
assert requests.get(
d1_common.url.joinPathElements(
options.src_base_url, 'diag', 'clear_replication_queue'
)
).ok
# assert requests.get(
# d1_common.url.joinPathElements(
# options.src_base_url, 'diag', 'clear_replication_queue'
# )
# ).ok
# An existing PID that returns approved on isNodeAuthorized()
create_test_object_on_mn(options.src_base_url, src_existing_pid_approve)
# An existing PID that returns denied on isNodeAuthorized()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</tr>
<tr>
<td>GMN version:</td>
<td>2.4.1</td>
<td>2.4.2</td>
</tr>
<tr>
<td>Django version:</td>
Expand Down
14 changes: 7 additions & 7 deletions test_utilities/src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
def main():
setuptools.setup(
name='dataone.test_utilities',
version='2.4.1',
version='2.4.2',
description='Utilities for testing DataONE infrastructure components',
author='DataONE Project',
author_email='developers@dataone.org',
Expand All @@ -37,23 +37,23 @@ def main():
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=[
'dataone.libclient == 2.4.1',
'dataone.libclient == 2.4.2',
#
'contextlib2 == 0.5.5',
'coverage == 4.4.2',
'coverage == 4.5.1',
'coveralls == 1.2.0',
'decorator == 4.1.2',
'decorator == 4.2.1',
'freezegun == 0.3.9',
'mock == 2.0.0',
'multi-mechanize == 1.2.0',
'posix-ipc == 1.0.0',
'posix-ipc == 1.0.4',
'psutil == 5.4.3',
'pyasn1 == 0.4.2',
'pytest == 3.3.1',
'pytest == 3.4.0',
'pytest-cov == 2.5.1',
'pytest-django == 3.1.2',
'pytest-forked == 0.2',
'pytest-xdist == 1.20.1',
'pytest-xdist == 1.22.0',
'pyxb == 1.2.6',
'rdflib == 4.2.2',
'requests == 2.18.4',
Expand Down
8 changes: 4 additions & 4 deletions tools/src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
def main():
setuptools.setup(
name='dataone.tools',
version='2.4.1',
version='2.4.2',
description='DataONE tools and examples',
author='DataONE Project',
author_email='developers@dataone.org',
Expand All @@ -42,9 +42,9 @@ def main():
},
install_requires=[
# These are not yet available when bootstrapping on Travis
'dataone.cli == 2.4.1',
'dataone.common == 2.4.1',
'dataone.libclient == 2.4.1',
'dataone.cli == 2.4.2',
'dataone.common == 2.4.2',
'dataone.libclient == 2.4.2',
],
setup_requires=[
'setuptools_git >= 1.1',
Expand Down

0 comments on commit 21e16da

Please sign in to comment.