Conchylicultor

Conchylicultor

Research Engineer

Member Since 7 years ago

Google, Berlin

Experience Points
556
follower
Lessons Completed
14
follow
Lessons Completed
34
stars
Best Reply Awards
38
repos

338 contributions in the last year

Pinned
⚡ My tensorflow implementation of "A neural conversational model", a Deep learning based chatbot
⚡ Enumerate diverse machine learning training tricks.
⚡ Experiment diverse Deep learning models for music generation with TensorFlow
⚡ Google Chrome Extension: Group your tabs into groups.
⚡ Use a CNN architecture to segment and classify 3d meshes
⚡ My solutions to the Google Foobar Challenge (September 2016 edition)
Activity
Jan
5
2 weeks ago
pull request

Conchylicultor merge to google/etils

Conchylicultor
Conchylicultor

docs: fix broken `pytest_and_autopublish.yml` svg badge link

fix broken pytest_and_autopublish.yml svg badge link

Signed-off-by: Ayush Joshi [email protected]

Conchylicultor
Conchylicultor
pull request

Conchylicultor merge to google/etils

Conchylicultor
Conchylicultor

fix: fix typo in `epath`'s document `intro.md`

fix typo in epath's document intro.md

Signed-off-by: Ayush Joshi [email protected]

Conchylicultor
Conchylicultor
Jan
3
3 weeks ago
Activity icon
published release v1
createdAt 2 weeks ago
Activity icon
published release v1
createdAt 2 weeks ago
Activity icon
issue

Conchylicultor issue pypa/pip

Conchylicultor
Conchylicultor

Inconsistency in `_` -> `-` normalization

Description

I'm using a PEP 621 toml using flit 3.5 & pip 21.3.1:

My toml has self-refering optional-dependencies:

[build-system]
requires = ["flit_core >=3.5,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "etils"

[project.optional-dependencies]
array_types = ["numpy"]
all = ["etils[array_types]"]

When running pip install -e .[all], this logs:

WARNING: etils 0.2.0 does not provide the extra 'array-types'

It looks like "etils[array_types]" gets normalized to [array-types], but not array_types = ["numpy"].

Manually replacing array_types = ["numpy"] -> array-types = ["numpy"] solve the issue.

But this behavior feels inconsistent.

I first posted in https://github.com/pypa/flit/issues/503 but from the Flit authors, it seems this is a pip issue. It seems Flit generate the following metadata:

Requires-Dist: installer[array_types] ; extra == "all"
Requires-Dist: numpy ; extra == "array_types"
Provides-Extra: all
Provides-Extra: array_types

Expected behavior

No response

pip version

pip 21.3.1

Python version

3.8

OS

Linux

How to Reproduce

See description above

Output

No response

Code of Conduct

Activity icon
issue

Conchylicultor issue pypa/flit

Conchylicultor
Conchylicultor

Inconsistency in `_` -> `-` normalization

I'm using a PEP 621 toml using flit 3.5 & pip 21.3.1:

My toml has self-refering optional-dependencies:

[build-system]
requires = ["flit_core >=3.5,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "etils"

[project.optional-dependencies]
array_types = ["numpy"]
all = ["etils[array_types]"]

When running pip install -e .[all], this logs:

WARNING: etils 0.2.0 does not provide the extra 'array-types'

It looks like "etils[array_types]" gets normalized to [array-types], but not array_types = ["numpy"].

Manually replacing array_types = ["numpy"] -> array-types = ["numpy"] solve the issue.

But this behavior feels inconsistent.

Activity icon
issue

Conchylicultor issue comment pypa/flit

Conchylicultor
Conchylicultor

Inconsistency in `_` -> `-` normalization

I'm using a PEP 621 toml using flit 3.5 & pip 21.3.1:

My toml has self-refering optional-dependencies:

[build-system]
requires = ["flit_core >=3.5,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "etils"

[project.optional-dependencies]
array_types = ["numpy"]
all = ["etils[array_types]"]

When running pip install -e .[all], this logs:

WARNING: etils 0.2.0 does not provide the extra 'array-types'

It looks like "etils[array_types]" gets normalized to [array-types], but not array_types = ["numpy"].

Manually replacing array_types = ["numpy"] -> array-types = ["numpy"] solve the issue.

But this behavior feels inconsistent.

Conchylicultor
Conchylicultor

Thanks for the fast answer. Closing this. Will open a new issue in pip.

Activity icon
issue

Conchylicultor issue pypa/flit

Conchylicultor
Conchylicultor

Inconsistency in `_` -> `-` normalization

I'm using a PEP 621 toml using flit 3.5 & pip 21.3.1:

My toml has self-refering optional-dependencies:

[build-system]
requires = ["flit_core >=3.5,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "etils"

[project.optional-dependencies]
array_types = ["numpy"]
all = ["etils[array_types]"]

When running pip install -e .[all], this logs:

WARNING: etils 0.2.0 does not provide the extra 'array-types'

It looks like "etils[array_types]" gets normalized to [array-types], but not array_types = ["numpy"].

Manually replacing array_types = ["numpy"] -> array-types = ["numpy"] solve the issue.

But this behavior feels inconsistent.