Releases: usnistgov/pyproject2conda
v0.13.0
Changed
- Allow
overrides
for all options. overrides
override environment options.
Full Changelog: v0.12.0...v0.13.0
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
v0.10.0
Full Changelog: v0.9.0...v0.10.0
v0.9.0
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
- update cruft by @wpk-nist-gov in #2
- feature/fix issue 1 by @wpk-nist-gov in #3
- release/v0.8.0 by @wpk-nist-gov in #5
Full Changelog: v0.7.0...v0.8.0
v0.7.0
Added
- Now use
logging
to print info output.
Changed
- cli now uses
typer
. Since the program was already typed, this simplifies the
interface. - Program can now be called with any of
pyproject2conda
,p2c
, or
python -m pyproject2conda
. - Added cli options to web documentation.
- Fixed small typos and typing issues.
- The cli option
--python-include
now requires an argument. This is due to
typer
not liking options with zero or one arguments. Instead of the bare
flag--python-include
including the python spec frompyproject.toml
, you
have to pass--python-include infer
to get that behavior. - Added extra
all
to pip install options. The default is to not includerich
orshellingham
. Usingpip install pyproject2conda[all]
includes these
optional packages. Note that the conda-forge recipe is based on the plain
install (i.e., norich
orshellingham
). However, the conda-froge recipe
fortyper
does include these. That means, if you want to install
pyproject2conda
without the optional extras, you'll have to use pip.
Full Changelog: v0.6.1...v0.7.0
v0.6.1
Changed
- Fixed edge case where
--overwrite=check
and have auser_config
. Now when
usingp2c project
with auser_config
andoverwrite=check
, the timestamp
of the output file will be compared to both thefilename=pyproject.toml
and
user_config
.
Full Changelog: v0.6.0...v0.6.1
v0.6.0
Added
- Added
project
subcommand. This uses a configuration inpyproject.toml
to
build multiple enivonments in one go. - Added
--deps
and--reqs
flags to include extra conda and pip requirements. - Added
--overwrite
to check if output file exists. - Now (correctly) using rich_click.
- Added tests for all new cases, and some edge cases.
Full Changelog: v0.5.1...v0.6.0
v0.5.1
Added
- Added
--sort/--no-sort
flag to cli. Default is to sort dependencies. This
fixes issues with changing order inpyproject.toml
leading to different yaml
files.
Changed
-
Changed structure of the repo to better support some third party tools.
-
Moved nox environments from
.nox
to.nox/{project-name}/envs
. This fixes
issues with ipykernel giving odd names for locally installed environments. -
Moved repo specific dot files to the
config
directory (e.g.,
.noxconfig.toml
toconfig/userconfig.toml
). This cleans up the top level
of the repo. -
added some support for using
nbqa
to run mypy/pyright on notebooks. -
Added ability to bootstrap development environment using pipx. This should
simplify initial setup. See Contributing for more info. -
Main repo now on usnistgov.
Full Changelog: v0.5.0...v0.5.1
v0.5.0
Full Changelog: v0.4.0...v0.5.0