llnl / llnl/thicket

Editable installs break due to setuptools

Open
#133 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-deployment priority-urgent type-bug type-feature
Dominant language
JavaScript
Stars
18
Forks
10
PR merge metrics
No merged PRs in 30d

Description

As reported [here](https://github.com/pypa/setuptools/issues/3548), there is a bug in newer versions of setuptools that can caused editable installs to break due to changes that setuptools made to support [PEP 600](https://peps.python.org/pep-0600/).

There are two ways to address this. In the short term, users can add `--config-settings editable_mode=strict` to their `pip install -e` command. This forces setuptools to use the older style of editable installs. Longer term, the best way to fix this for Hatchet and Thicket is to move away from setuptools.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating Hatchet and Thicket's setuptools configuration and editable-install instructions. Review the setuptools issue and the PEP 600-related behavior described here before choosing an approach. Done means editable installs work without requiring the strict editable-mode workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.