Skip to content

Install a fckit_venv symlink to build/fckit_venv if FCKIT_VENV_INSTALL=OFF#90

Merged
wdeconinck merged 1 commit into
developfrom
feature/fckit_venv_install_symlink
Apr 9, 2026
Merged

Install a fckit_venv symlink to build/fckit_venv if FCKIT_VENV_INSTALL=OFF#90
wdeconinck merged 1 commit into
developfrom
feature/fckit_venv_install_symlink

Conversation

@wdeconinck
Copy link
Copy Markdown
Member

When fckit is installed with ENABLE_FCKIT_VENV=ON and ENABLE_FCKIT_VENV_INSTALL=OFF (OFF is default here), then there is a problem with downstream packages accessing the fypp-scripts.
The install default is OFF because it is potentially a quite heavy install. This can still be solved though by installing a symlink to the fckit_venv from the build dir. I realise this is dangerous because the build-dir may get wiped and the symlink may dangle; however it is better than nothing.

@wdeconinck wdeconinck added the approved-for-ci Approved for CI run label Apr 8, 2026
@wdeconinck
Copy link
Copy Markdown
Member Author

@awnawab could you please review if you have time?

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.07%. Comparing base (fd5b1fb) to head (3225941).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #90   +/-   ##
========================================
  Coverage    51.07%   51.07%           
========================================
  Files           58       58           
  Lines         4854     4854           
  Branches       453      453           
========================================
  Hits          2479     2479           
  Misses        2375     2375           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@awnawab awnawab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this fix @wdeconinck, it's a very clever workaround to the expensive venv installation problem 🙏

@wdeconinck wdeconinck merged commit 08b56d1 into develop Apr 9, 2026
378 checks passed
wdeconinck added a commit that referenced this pull request May 18, 2026
* hotfix/0.14.3:
  Version 0.14.3
  fckit_target_preprocess: add optional OUTPUT_SUFFIX argument (#92)
  Install a fckit_venv symlink to build/fckit_venv if FCKIT_VENV_INSTALL=OFF (#90)
  fckit_yaml_reader: relax ruamel version spec (#87)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-for-ci Approved for CI run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants