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

allow distributing typed information #356

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

dn070017
Copy link
Contributor

@dn070017 dn070017 commented Mar 1, 2024

Allow distributing package typed information (https://peps.python.org/pep-0561/)

pyproject.toml Outdated
Comment on lines 12 to 13
{include = "gokart"},
{include = "gokart/py.typed"},
Copy link
Collaborator

Choose a reason for hiding this comment

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

@dn070017 [question]

include = "gokart" doesn't include gokart/py.typed ?

I'm not sure but include = "gokart" sounds include = "gokart/*" which includes gokart/py.typed ...?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yokomotod
Yes, I think you are correct. After investigate into the behavior for this setting, it turns out that Poetry includes every file under the source directory by default. I think it should be fine to revert the changes I made in pyproject.toml.

Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 👍 👍

Copy link
Collaborator

@yokomotod yokomotod left a comment

Choose a reason for hiding this comment

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

LGTM!

@dn070017 dn070017 merged commit 7e10f82 into m3dev:master Mar 1, 2024
5 checks passed
mski-iksm added a commit to mski-iksm/gokart that referenced this pull request Mar 17, 2024
delete RunWithLock

delete old codes

add test

sort

sort

delete

move

rename

test

rename

Change build backend to poetry-core (m3dev#355)

Co-authored-by: Keisuke Ogaki <[email protected]>

allow distributing typed information (m3dev#356)

* allow distributing typed information

* restore include

relax python constraint (m3dev#357)

relock

add

Update docs/efficient_run_on_multi_workers.rst

Co-authored-by: Keisuke OGAKI <[email protected]>

set complete_check_at_run=False
kitagry pushed a commit that referenced this pull request Mar 22, 2024
* add task run lock

delete RunWithLock

delete old codes

add test

sort

sort

delete

move

rename

test

rename

Change build backend to poetry-core (#355)

Co-authored-by: Keisuke Ogaki <[email protected]>

allow distributing typed information (#356)

* allow distributing typed information

* restore include

relax python constraint (#357)

relock

add

Update docs/efficient_run_on_multi_workers.rst

Co-authored-by: Keisuke OGAKI <[email protected]>

set complete_check_at_run=False

* add

* add blank line

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants