Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve wheel based dependencies #346

Open
divaybansal opened this issue Jul 30, 2020 · 0 comments
Open

Resolve wheel based dependencies #346

divaybansal opened this issue Jul 30, 2020 · 0 comments

Comments

@divaybansal
Copy link

We would like to use wheel based artifacts instead of tar for dependency resolution. For some python packages that are dependent on native libraries, it is always better to use wheels since these libraries are bundled together inside a wheel package.

Pivy importer is able to download the wheel file and create ivy based configuration using the below command.

pivy-importer-0.12.10-all.jar --repo /pypi-ivy/repo confluent-kafka:1.5.0:cp37-cp37m-macosx_10_6_intel
In our build.gradle we are trying something like below

 python ('wheel:confluent_kafka:1.5.0') {
            exclude module: 'enum34'
            exclude module: 'futures'
}

The problem is resolving the dependency for different environments such as windows/linux/mac. In the above, it will be helpful if we can also provide classifier information "cp37-cp37m-macosx_10_6_intel" similar to the above command as pivy. The classifier can be used to resolve the correct directory path for different environments in ivy artifactory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant