Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-platformdirs disappeared #164499

Closed
4 tasks done
dhensen opened this issue Feb 28, 2024 · 6 comments
Closed
4 tasks done

python-platformdirs disappeared #164499

dhensen opened this issue Feb 28, 2024 · 6 comments
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age

Comments

@dhensen
Copy link

dhensen commented Feb 28, 2024

brew gist-logs <formula> link OR brew config AND brew doctor output

Error: No available formula with the name "python-platformdirs". Did you mean python-toml?

Verification

  • My "brew doctor output" says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

install python-platformdirs, earlier today I ran brew doctor and I cleaned up all warnings, that led me to uninstall python-platformdirs as doctor told me to do so. I'm a brew noob. Now python needs python-platformdirs and I'm not able to install it.

Also, this page gives 404: https://formulae.brew.sh/formula/python-platformdirs

I can't find any information about the package being deleted or deprecation warning etc.
No info on this page either: https://github.com/Homebrew/homebrew-core/pkgs/container/core%2Fpython-platformdirs

what's going on?

What happened (include all command output)?

python-platformdirs is not available

What did you expect to happen?

python-platformdirs will be installed

Step-by-step reproduction instructions (by running brew commands)

brew install python-platformdirs
@dhensen dhensen added the bug Reproducible Homebrew/homebrew-core bug label Feb 28, 2024
@dhensen
Copy link
Author

dhensen commented Feb 28, 2024

I found this: 88078ab

#163603

Why was it removed?

@dhensen
Copy link
Author

dhensen commented Feb 28, 2024

Same for python-distlib 6ab3c74

What is going on, why is stuff being deleted?

Feels like important dependencies are breaking: https://xkcd.com/2347/

@dhensen
Copy link
Author

dhensen commented Feb 28, 2024

@cho-m Can you please help out in resolving this? thanks in advance

@dhensen
Copy link
Author

dhensen commented Feb 28, 2024

I'm not sure if I'm drawing the right conclusion.. i'm a brew noob, coming from linux to osx. Not having the greatest experience, maybe I need to RTFM, but this is my issue after uninstalling python-platformdirs:

image

But now I'm doubting if this is a homebrew issue, because it says it's going to use 3.9.18 to create a virtualenv (this version is pyenv managed) but then it proceeds to show 3.11 in the traceback...

@cho-m
Copy link
Member

cho-m commented Feb 28, 2024

The removals are intentional as decided in #157500.

Homebrew will not be supporting python- formulae for libraries unless they meet requirement for exception - Homebrew/brew#16662

There should be nothing that needs these formulae anymore in homebrew-core. You may need to brew upgrade or brew reinstall <formula> if you have any old references on your system.

@cho-m cho-m closed this as not planned Won't fix, can't repro, duplicate, stale Feb 28, 2024
@dhensen
Copy link
Author

dhensen commented Feb 28, 2024

I'm not knowledgeable enough on brew to properly respond to this, but this situation is leaving my python stuff in a messed up situation, that can't be good. I solved all brew doctor issues. I even ran brew list | xargs brew reinstall, because I'm not sure how I can query which packages have old references... so lets install all was my reasoning.

Eventually I solved my pipenv issue by doing:

pip3.11 install platformdirs
pip3.11 install distlib

But I don't understand why I should be installing these by myself, while before it was done for me, by brew? Leaving this comment here for people who come searching for the same issue.

@github-actions github-actions bot added the outdated PR was locked due to age label Mar 31, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

2 participants