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.

Support search in LegacyRepository

See original GitHub issue

Issue

When I use poetry search <package from private repo> it does not show up in the search results. However, using poetry add <package from private repo> works just fine.

Config Notes

  • I have a local pypi-server running using the package pypiserver.
  • The package I am trying to search for is several levels down in a namespace package.
  • This project is also a package that lives several levels down in a namespace package.
  • I am able to publish to this local repo just fine using poetry publish with the appropriate flags.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
taranlu-houzzcommented, Jul 15, 2022

@fbrodrigorezino I haven’t bothered trying to use poetry search recently, but when I made this comment, I was pointing out that even though the additional source was added to my pyproject.toml the search still did not find any private packages. I also had the repo added in poetry config, but I think that only has to do with publishing.

1reaction
taranlu-houzzcommented, Jan 10, 2022

@WYishai While that would work, it seems like a bit of a half-solution to me. In order to work with the private repo, I have to explicitly add that as a source in the pyproject.toml. To me, that indicates that the added source should always be considered, since that is what happens when using poetry add.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Convert a Legacy Repository to Support Digital Asset Types
You can see which repositories need to be converted on the Repositories page. Repositories that haven't been converted display a Convert button in...
Read more >
Technique 5.6: Dealing With Legacy Data
A better strategy to deal with legacy content is to create a demand-based process that will help us identify the legacy content that...
Read more >
Apache Archiva legacy repository support configuration
Since version 1.0.1, Archiva provides a legacy support configuration to the administrator. It is possible to register some custom legacy path ...
Read more >
The To Do List - Legacy Family Tree Genealogy Software
To find an item on the To Do List, type the first few letters of a To Do ... Repository—The location or repository...
Read more >
Migrate a legacy Repository - RapidMiner Documentation
RapidMiner Studio 9.7 introduced a new type of Repository, supporting arbitrary file types. Repositories that were created earlier are now marked as (Legacy)...
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