question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

index restricted package cannot find sub-dependency when its index is non-default

See original GitHub issue

When upgrading from 2022.3.28 to 2022.4.8, a pre-release package identified with ==x.y.z.alpha is no longer installing. I’m not using --pre or anything like that. Going back to 2022.3.28, it installs fine. Or rather, pipenv update --dev works fine.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:22

github_iconTop GitHub Comments

1reaction
matteiuscommented, Jun 15, 2022

Ok, I am going to treat this as a question/request for support on the current behavior. If we want to improve the sub-dependency resolution of index restricted packages, then we need someone to write up an enhancement request/proposal that talks through a logical way to do that, or at least captures what the intended requirements are. Thanks!

1reaction
matteiuscommented, Apr 12, 2022

@gitpushdashf hmmm I think that I may have introduced this regression with my changes here: https://github.com/pypa/pipenv/pull/5024/files

I will think more about it, please leave this issue opened.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NPM package cannot be used as a JSX Component
ReactNode' is not assignable to type 'import("/home/user/app/node_modules/@types/react-bootstrap-table-next/node_modules/@types/react/index").
Read more >
Python Dependencies - Everything You Need to Know
Click to learn everything about Python dependencies - from managing and adding, to packaging, checking or downloading. Here's all you need!
Read more >
Advanced Usage of Pipenv - Python Packaging Authority
Dependencies of wheels provided in a Pipfile will not be captured by $ pipenv lock . There are some known issues with using...
Read more >
package.json
This helps people discover your package, as it's listed in npm search . ... If main is not set it defaults to index.js...
Read more >
Third-party dependencies
To exclusively use your custom index, i.e. to not use the default of PyPI, use indexes = [..] instead of indexes.add = [..]...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found