Support search in LegacyRepository
See original GitHub issue-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option). -
OS version and name: macOS 10.14.6
-
Poetry version: Poetry version 1.0.5
-
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/taranlu-houzz/d85b1ff99c8a0610ae7ed6911263038d
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:
- Created 3 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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 mypyproject.toml
the search still did not find any private packages. I also had the repo added inpoetry config
, but I think that only has to do with publishing.@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 usingpoetry add
.