audeering / audfactory

Communicating with Artifactory
https://audeering.github.io/audfactory/
Other
0 stars 0 forks source link

Fix versions() for server with no access rights #50

Closed hagenw closed 1 year ago

hagenw commented 1 year ago

This fixes audfactory.versions() to behave the same for dohq-artifactory>=0.8 as they changed the error they throw when you don't have access to an artifactory server.

In https://github.com/audeering/audfactory/pull/45 we introduced a dependency on dohq-artifactory>=0.8.1 so we need to adjust accordingly. As you are still able to install an older version of dohq-artifactory I would propose to also leave the old part of the code to be on the safe side.

I did not add a test for this as this would require the use of a public server to which we don't have access.

codecov[bot] commented 1 year ago

Codecov Report

Merging #50 (6e07d62) into main (834b5a9) will not change coverage. The diff coverage is 100.0%.

Impacted Files Coverage Δ
audfactory/core/api.py 100.0% <100.0%> (ø)