SuLab / WikidataIntegrator

A Wikidata Python module integrating the MediaWiki API and the Wikidata SPARQL endpoint
MIT License
244 stars 46 forks source link

the recent update of oauthlib to version 3.0.0 is causing jenkins to fail. #86

Closed andrawaag closed 5 years ago

andrawaag commented 5 years ago

This week a new version of oauthlib was released. This is now causing issues in jenkins. Installed /var/lib/jenkins/workspace/softwareWikiDP/venv/lib/python3.6/site-packages/certifi-2018.11.29-py3.6.egg error: oauthlib 3.0.0 is installed but oauthlib<3.0.0,>=2.1.0 is required by {'requests-oauthlib'} Build step 'Execute shell' marked build as failure Finished: FAILURE

The dependencies in the requirements.txt need to be updated

andrawaag commented 5 years ago

I tried an intermediate fix to specifically state 2.1.0 as a strict version requirement without effect. The dependency issue remains. The bug was introduced yesterday (2019-01-09) https://pypi.org/project/requests-oauthlib/. Investigating further

andrawaag commented 5 years ago

A temporary fix has been made where installing mwoauth was removed from the setup.py file and moved to the requirements.txt file to be able to install the previous version of mwoauth. The jenkins tasks are spinning again. This is a suboptimal solution so we need to monitor the developments on mwoauth and requests_oauthlib. Once they are in sync again, the previous state needs to be reinstated.