linkedin / linkedin/pygradle

support for shared lib dependencies?

Open
#97 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
603
Forks
142
PR merge metrics
No merged PRs in 30d

Description

I have dependencies that in turn depend on an .so. Is this supported currently? What is the best pygradle way to accomplish this?

It's failing for me during :installPythonRequirements, during setup.py of the module that depends, that's when it notices the library's missing.

Do I need to create an extension module and publish it to a local pypi repo? If so how would I ensure that the dependency is included in the virtualenv in time?

Thanks

```:pinRequirements
:createVirtualEnvironment UP-TO-DATE
:installLinks UP-TO-DATE
:installSetupRequirements
... snip ...
Install Cython-0.25.2 ............................................... [SKIPPING]
Install h5py-2.6.0 .................................................. [STARTING]
... snip ...
Autodetection skipped [libhdf5.so: cannot open shared object file: No such file or directory]
... more errors ...
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in :installPythonRequirements and trace the sequence through :pinRequirements, :createVirtualEnvironment, :installLinks, and installSetupRequirements. Inspect how setup.py dependencies such as h5py locate libhdf5.so; done means the supported handling of shared-library dependencies is identified and verified, or the required support scope is clearly defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.