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.

"private" packages

See original GitHub issue
  • I have searched the issues of this repo and believe that this is not a duplicate.

I think it would be useful if in my pyproject.toml I could specify that a package is private. This could be done via [tool.poetry] private = true. What this would do is disallow poetry publish without an explicit repository, to prevent accidental publishing to pypi.org. It could also make the license key optional. There may be other ways private projects should behave differently, but for now I’m mostly interested in the publish prevention.

If this is a feature that is desirable, I’d be happy to implement it. EDIT: See https://github.com/ojii/poetry/tree/private-packages for a simple implementation.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:11
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
golyalphacommented, Mar 7, 2019

@ojii That may be true, but then there’s the fact that you could be able to specify a default publish repository in the pyproject.toml, and be done with it, without using classifiers, or having to implement and use private = true.

2reactions
ojiicommented, Mar 7, 2019

I still think private = true would be a lot easier to understand and remember. With the classifier I’ll have to look it up every time. But I guess it works…

Read more comments on GitHub >

github_iconTop Results From Across the Web

About private packages - npm Docs
With npm private packages, you can use the npm registry to host code that is only visible to you and chosen collaborators, allowing...
Read more >
MAIN - Florida Private - Access Securepak
Call our customer service support 1-800-546-6283. FLORIDA PRIVATE PACKAGE PROGRAMS. Sign In If you have an account with us, login below. Email: Password: ......
Read more >
Private Packagist
Private Composer packages · Reliable and fast Composer deployments · Monitor security vulnerabilities · Integrate easily with GitHub, Bitbucket and GitLab.
Read more >
Private packages - Hex.pm
Private packages and organizations · Add an organization to Mix · Publishing a private package · Using private packages as dependencies · Authenticating...
Read more >
Using private npm packages - Expo Documentation
Using private npm packages. EAS Build has full support for using private npm packages in your project. These can either be published to...
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