Wheel dependencies with pivy-importer not supported yet?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 603
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
Try running:
`java -jar pivy-importer-0.3.16-all.jar --repo repo opencv-python:3.4.0.12`
(opencv-python on PyPI has only .whl files available, not .tar.gz or .zip)
and observe:
`Exception in thread "main" java.lang.NullPointerException: Cannot get property 'url' on null object
at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:60)
at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:172)
at org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:296)
at com.linkedin.python.importer.deps.DependencyDownloader.downloadDependency(DependencyDownloader.groovy:65)
at com.linkedin.python.importer.deps.DependencyDownloader$downloadDependency.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)
at com.linkedin.python.importer.deps.DependencyDownloader.download(DependencyDownloader.groovy:48)
at com.linkedin.python.importer.ImporterCLI.main(ImporterCLI.java:65)
`
So there seems to be a problem when we don't have a typical archive download URL available (and only wheels)... is there any way we can get this to work, or am I making a mistake somewhere?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the stated java -jar command and opencv-python:3.4.0.12. Start at DependencyDownloader.groovy:65, then trace the call from ImporterCLI.main; done means a dependency available only as a wheel can be handled without the reported NullPointerException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100