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-typing-extensions: deprecate, disable in 3 months #168114

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Formula/p/python-typing-extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ class PythonTypingExtensions < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "6d08667977a45cbf7102384b2b1bcd04f6468c0f5b763aecb36a1ccfad6a6d76"
end

depends_on "python-flit-core" => :build
disable! date: "2024-07-05", because: "does not meet homebrew/core's requirements for Python library formulae"

depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "mypy" => :test
Expand All @@ -28,7 +29,7 @@ def pythons

def install
pythons.each do |python|
system python.opt_libexec/"bin/pip", "install", *std_pip_args, "."
system python.opt_libexec/"bin/pip", "install", *std_pip_args(build_isolation: true), "."
end
end

Expand All @@ -40,6 +41,11 @@ def caveats
<<~EOS
This formula provides the `typing_extensions` module for Python #{python_versions}.
If you need `typing_extensions` for a different version of Python, use pip.

Additional details on upcoming formula removal are available at:
* https://github.com/Homebrew/homebrew-core/issues/157500
* https://docs.brew.sh/Python-for-Formula-Authors#libraries
* https://docs.brew.sh/Homebrew-and-Python#pep-668-python312-and-virtual-environments
EOS
end

Expand Down
Loading