Skip to content

Fix reverse dependency in noxfile.py: use temporary directory - #303

Merged
thierry-martinez merged 6 commits into
TeamGraphix:masterfrom
thierry-martinez:fix_noxfile_temp_directory
Jul 5, 2025
Merged

Fix reverse dependency in noxfile.py: use temporary directory#303
thierry-martinez merged 6 commits into
TeamGraphix:masterfrom
thierry-martinez:fix_noxfile_temp_directory

Conversation

@thierry-martinez

@thierry-martinezthierry-martinez commented Jun 13, 2025

Copy link
Copy Markdown
Collaborator

This commit updates noxfile.py to use a temporary directory when cloning the reverse dependency graphix-symbolic.

@EarlMilkteasuggested extracting this specific change from #302, as it is unrelated to the rest of that PR.

Previously, noxfile.py cloned graphix-symbolic directly into the working directory without cleanup. As a result, the graphix-symbolic directory persisted after running nox, causing subsequent calls to pytest to fail due to multiple conftest.py files being present (one in tests/, and another in graphix-symbolic/tests/).

This commit updates `noxfile.py` to use a temporary directory when cloning the reverse dependency `graphix-symbolic`.
@EarlMilkea [suggested](TeamGraphix#302 (comment)) extracting this specific change from TeamGraphix#302, as it is unrelated to the rest of that PR.
Previously, `noxfile.py` cloned `graphix-symbolic` directly into the working directory without cleanup. As a result, the `graphix-symbolic` directory persisted after running `nox`, causing subsequent calls to `pytest` to fail due to multiple `conftest.py` files being present (one in `tests/`, and another in `graphix-symbolic/tests/`).
@codecov

codecovBot commented Jun 13, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.97%. Comparing base (81b6c0c) to head (3c61d23).
Report is 1 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@## master #303 +/- ##
=======================================
Coverage 79.97% 79.97% =======================================
Files 35 35 Lines 5398 5398 =======================================
Hits 4317 4317 Misses 1081 1081 

☔ 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.

@thierry-martinez

Copy link
Copy Markdown
CollaboratorAuthor

This changes the template for #285.

Comment threadnoxfile.py Outdated

@EarlMilkteaEarlMilktea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@shinich1shinich1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

sorry for the delay!

@thierry-martinez
thierry-martinez merged commit ff8d45f into TeamGraphix:masterJul 5, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@thierry-martinez@shinich1@EarlMilktea