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

Fix typing-extensions mapping #565

Merged
merged 2 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions grayskull/strategy/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,11 @@ trino:
conda_forge: trino-python-client
import_name: trino

typing-extensions:
conda_forge: typing_extensions
import_name: typing_extensions
avoid_selector: true

typing:
conda_forge: typing
import_name: typing
Expand Down
4 changes: 2 additions & 2 deletions tests/test_pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,8 +1031,8 @@ def test_mypy_deps_normalization_and_entry_points():
assert "mypy-extensions >=0.4.3,<0.5.0" not in recipe["requirements"]["run"]
assert "typed-ast >=1.4.0,<1.5.0" in recipe["requirements"]["run"]
assert "typed_ast <1.5.0,>=1.4.0" not in recipe["requirements"]["run"]
assert "typing-extensions >=3.7.4" in recipe["requirements"]["run"]
assert "typing_extensions >=3.7.4" not in recipe["requirements"]["run"]
assert "typing-extensions >=3.7.4" not in recipe["requirements"]["run"]
assert "typing_extensions >=3.7.4" in recipe["requirements"]["run"]

assert recipe["build"]["entry_points"] == [
"mypy=mypy.__main__:console_entry",
Expand Down
Loading