You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new pyproject file format. When looking at an example:
[project]
name = "flask-hello-world-pyproject"version = "0.1.0"description = "Example how to get started with flask in a pixi environment."readme = "README.md"requires-python = ">=3.11"dependencies = ["flask==2.*"]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pixi.project]
name = "flask-hello-world-pyproject"channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64"]
[tool.pixi.tasks]
start = "python -m flask run --port=5050"
I think we should allow having the name in [project] section only, instead of having to specify it twice. Or is there some technicality that I'm missing :)?
The text was updated successfully, but these errors were encountered:
tdejager
changed the title
[pyproject.toml] Avoid having to specify the name twice.
[pyproject.toml] avoid having to specify the name twice.
Mar 29, 2024
tdejager
changed the title
[pyproject.toml] avoid having to specify the name twice.
avoid having to specify the name twice when using pyproject.toml
Mar 29, 2024
tdejager
changed the title
avoid having to specify the name twice when using pyproject.toml
Avoid having to specify the name twice when using pyproject.toml
Mar 29, 2024
I was thinking about this over the weekend, but cannot really think of a better way than doing your: 1) (a bit easier) or 2) somewhat harder, but possible.
For 3) I've looked at de-serializing from seeded state, but could not find something satisfying, although there were some experiments from a quick glance: https://docs.rs/serde_state/latest/serde_state/
I would go with option 1) I don't know if it's possible to keep the current error message?
Problem description
With the new pyproject file format. When looking at an example:
I think we should allow having the name in
[project]
section only, instead of having to specify it twice. Or is there some technicality that I'm missing :)?The text was updated successfully, but these errors were encountered: