hatch-pip-compile icon indicating copy to clipboard operation
hatch-pip-compile copied to clipboard

hatch plugin to use pip-compile (or uv) to manage project dependencies and lockfiles

Results 16 hatch-pip-compile issues
Sort by recently updated
recently updated
newest added

> [!WARNING] > This PR is a work in progress This PR will _eventually_ resolve a regression issue in hatch `1.10.0` Closes https://github.com/pypa/hatch/issues/1468

A not entirely documented (https://github.com/pypa/pip/issues/11296) but extremely useful feature of `pip` since version 21.2 is that `optional-dependencies` groups can depend on each other: https://hynek.me/articles/python-recursive-optional-dependencies/ For example if your package is...

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. Release notes Sourced from codecov/codecov-action's releases. v4.0.0 v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to...

dependencies
github_actions

Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 4 to 5. Release notes Sourced from actions/configure-pages's releases. v5.0.0 Changelog Attempt to auto-detect configuration files with varying file extensions @​JamesMGreene (#139) Convert errors into Actions-compatible logging...

dependencies
github_actions

`uv` should only be installed once into hatch's environment instead of each virtual environment.

Currently `uv pip install` is supported, it would be helpful to support `uv pip sync` via a `uv-pip-sync` `pip-compile-installer`

Should a specific version of `pip-tools` be used inside the plugin or should we just continue to `pip install pip-tools` https://github.com/juftin/hatch-pip-compile/blob/cd8106e182c2e9e6d51632c7d0f4367358b5eef6/hatch_pip_compile/plugin.py#L116

First, the package is installed with `--no-deps` then the dependencies are installed. This order of operations produces the following warinings which should be disregarded ``` ERROR: pip's dependency resolver does...

This can be problematic in CI/CD where you run `hatch run +py={{ matrix.python }} matrix:cov` and have `hatch.python` set to a differing version than your current matrix version ```toml [tool.hatch.envs.default]...

documentation

The error is straightforward, but the reason for it is not. I want to use `uv` everywhere. All I did was create a new test project with `hatch new foo`,...

hatch-bug