v0.12.0
Removed
- Removed comments based (
# p2c: ...
) support. Specify changes with
tool.pyproject2conda.dependencies
table only. This greatly simplifies the
code, and has become the primary way to use thepyproject2conda
.
Added
- Added PEP 735 support. This includes
adding option--group
to the cli, andgroups
key to
tools.pyproject2conda.envs....
tables. There is also an option
--extra-or-group
(orextras_or_groups
in pyproject.toml) that will first
try to find dependencies from "extras" and then from "groups".
Changed
-
Passing no extras to an environment now defaults to no added extras or groups.
Old behavior (to default to the extra with the same name as the environment)
was lead to complications with support ofdependency-groups
. Explicitly pass
the extra or group if to get the old behavior. -
default_envs
now passed the environment name asextras_or_groups
.
Therefore, if the name of the environment is an extra, it will be used.
Otherwise, it will be from a group of that name. -
Removed option
--base/--no-base
. Replaced with--skip-package
. Default is
to include package dependencies. Pass--skip-package
(or
skip_package = true
inpyproject.toml
) to skip package dependencies.
Full Changelog: v0.11.0...v0.12.0