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

Minor recipe updates #46

Merged
merged 6 commits into from
Feb 16, 2022
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
2 changes: 1 addition & 1 deletion .github/CODEOWNERS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ source:
folder: typeshed

build:
number: 0
skip: true # [py<36 or py>=310 or win]
number: 1
skip: true # [py>=310 or win]
# no windows builds here: https://pypi.org/project/pytype/#files
entry_points:
- annotate-ast = pytype.tools.annotate_ast.main:main
Expand All @@ -44,14 +44,13 @@ requirements:
- python
Copy link
Member

@marcelotrevisani marcelotrevisani Jan 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't it need pybind11?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's pulling in a pybind11 folder in line 16? I didn't look into the extra files.
Looking at them now - those are not actually patch sets but are pulling in some specific commit revisions of googletest, pybind11, and typeshed. These probably should be build-/test-time dependencies.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you wanna unvendor these or nah?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no real need --- the pkg doesn't end up taking these deps with it; they're just needed at build time, I believe.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be neater to unvendor, but I feel that's a separate endeavour

run:
- attrs >=21.2.0
- dataclasses
- importlab >=0.6.1
- ninja >=1.10.0
- tabulate
- toml
- typed-ast >=1.5.0
- importlab >=0.7
- libcst
- ninja >=1.10.0.post2
- python
- tabulate
- toml
- typed-ast >=1.5.0 # [py<38]

test:
imports:
Expand All @@ -75,3 +74,4 @@ extra:
recipe-maintainers:
- ngam
- marcelotrevisani
- anthchirp