ethereum / ethereum/execution-specs

Fix target directory for `env.yaml` with `eest make env` when ran from package

Open
#1,674 3 comments 0 reactions 1 assignee Claimed by @Khushi-Chaudhary04 View on GitHub
A-packaging A-test-make E-easy stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

The function `get_project_root()` traverses up the directory tree to find the .git directory, but this approach may fail in environments where the .git directory is not present (e.g., in distributed packages or CI environments). Consider adding a fallback mechanism or allowing the path to be configured via an environment variable.

_Originally posted by @Copilot in https://github.com/ethereum/execution-specs/pull/1654#discussion_r2459545209_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.