v2.4.0
What's Changed
Overview of new features
This release showcases new features by @pep-sanwer and @jacksmith15, as well as infrastructural improvements by @mfisher87, @mariusvniekerk, and @pep-sanwer.
New feature: Credentials for private PyPI repositories
We introduce the pip-repositories
key for environment.yml
which works for pip dependencies similarly to how channels
works for Conda dependencies:
channels:
- conda-forge
pip-repositories:
- http://$PIP_USER:$PIP_PASSWORD@private-pypi.org/api/pypi/simple
dependencies:
- python=3.11
- requests=2.26
- pip:
- private-package==1.0.0
Credentials are substituted via environment variables.
Thanks @jacksmith15!
New feature: Parsing Python version from Poetry-style pyproject.toml
files
Conda-lock now parses:
[tool.poetry.dependencies]
python = "^3.7"
Thanks @pep-sanwer!
New feature: skip-non-conda-lock
flag
We introduce a new pyproject.toml
flag for those who wish to manage Python project dependencies with another tool:
[tool.conda-lock]
skip-non-conda-lock = true
This causes the pyproject.toml
's project dependencies to be ignored by conda-lock so that only the dependencies declared under [tool.conda-lock.dependencies]
are considered.
[project]
dependencies = [
"now-ignored-by-conda-lock"
]
[tool.conda-lock.dependencies]
still-managed-by-conda-lock = ">=1.0"
Thanks @pep-sanwer!
New features
- Parse
python
version forpoetry
'spyproject.toml
, always managed byconda
by @pep-sanwer in #526 - Lock only
conda-lock
dependencies inpyproject.toml
by @pep-sanwer in #527 - Configure private pip repositories in the environment file by @jacksmith15 in #529
Infrastructure
- Remove flake8 and isort by @mfisher87 in #493
- Add netlify configuration file by @mariusvniekerk in #523
- Fix failing test test_pr_436 by @mariusvniekerk in #525
- Remove requirements-dev.txt by @mfisher87 in #504
- Speed up a test which keeps timing out by @maresb in #533
- Swap test poetry pyproject.toml sqlite constraint by @pep-sanwer in #528
Refactor
- Replace
suffix_union
with less general function by @jacksmith15 in #532
Full Changelog: v2.3.0...v2.4.0