Changelog#
Changelog for pyproject2conda
Unreleased#
See the fragment files in changelog.d
v0.7.0 — 2023-09-26#
Added#
Now use
loggingto 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, orpython -m pyproject2conda.Added cli options to web documentation.
Fixed small typos and typing issues.
The cli option
--python-includenow requires an argument. This is due totypernot liking options with zero or one arguments. Instead of the bare flag--python-includeincluding the python spec frompyproject.toml, you have to pass--python-include inferto get that behavior.Added extra
allto pip install options. The default is to not includerichorshellingham. Usingpip install pyproject2conda[all]includes these optional packages. Note that the conda-forge recipe is based on the plain install (i.e., norichorshellingham). However, the conda-froge recipe fortyperdoes include these. That means, if you want to installpyproject2condawithout the optional extras, you’ll have to use pip.
v0.6.1 — 2023-09-22#
Changed#
Fixed edge case where
--overwrite=checkand have auser_config. Now when usingp2c projectwith auser_configandoverwrite=check, the timestamp of the output file will be compared to both thefilename=pyproject.tomlanduser_config.
v0.6.0 — 2023-09-19#
Added#
Added
projectsubcommand. This uses a configuration inpyproject.tomlto build multiple enivonments in one go.Added
--depsand--reqsflags to include extra conda and pip requirements.Added
--overwriteto check if output file exists.Now (correctly) using rich_click.
Added tests for all new cases, and some edge cases.
v0.5.1 — 2023-09-09#
Added#
Added
--sort/--no-sortflag to cli. Default is to sort dependencies. This fixes issues with changing order inpyproject.tomlleading to different yaml files.
Changed#
Changed structure of the repo to better support some third party tools.
Moved nox environments from
.noxto.nox/{project-name}/envs. This fixes issues with ipykernel giving odd names for locally installed environments.Moved repo specific dot files to the
configdirectory (e.g.,.noxconfig.tomltoconfig/userconfig.toml). This cleans up the top level of the repo.added some support for using
nbqato 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.