Cannot import moto with version > 1.1.0 using pivy-importer-0.10.8-all.jar
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 603
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
[error.log](https://github.com/linkedin/pygradle/files/3282751/error.log)
When using the jar to import newer moto versions we run into this error with this exact java command:
`java -jar resources/pivy-importer-0.10.8-all.jar --debug --repo /tmp/repository "moto:1.3.8"`
**`Exception in thread "main" java.lang.RuntimeException: Unable to find source dist for python-jose:0.1.0**
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:80)
at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:74)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:60)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:235)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:247)
at com.linkedin.python.importer.deps.SdistDownloader.downloadDependency(SdistDownloader.groovy:57)
at com.linkedin.python.importer.deps.SdistDownloader$downloadDependency.callCurrent(Unknown Source)
at com.linkedin.python.importer.deps.DependencyDownloader.download(DependencyDownloader.groovy:53)
at com.linkedin.python.importer.ImporterCLI.importPackages(ImporterCLI.java:100)
at com.linkedin.python.importer.ImporterCLI.main(ImporterCLI.java:73)
`
I've also attached the entire output in error.log
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 exact pivy-importer command and moto:1.3.8 input. Start at SdistDownloader.groovy:57, then follow DependencyDownloader.groovy:53 and ImporterCLI.java:100; done means the importer completes without the python-jose:0.1.0 source-distribution error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, java, python
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100