Skip to content

Conversation

@ChrisRackauckas-Claude
Copy link

Problem

Test files using both using SymbolicIntegration and using Nemo cause name conflicts because both packages export an integrate function. This causes UndefVarError in tests, preventing CompatHelper PRs #16 and #17 from passing.

Solution

Changed using Nemo to import Nemo in test files to avoid exporting Nemo's symbols while still allowing access to Nemo functions via qualified names (e.g., Nemo.QQ).

Testing

Files Changed

  • test/methods/risch/test_complex_fields.jl
  • test/methods/risch/test_bronstein_examples.jl
  • test/methods/risch/test_algorithm_internals.jl
  • test/methods/risch/bronstein_examples.jl

Related Issues

Fixes test failures in:

🤖 Generated with Claude Code

Co-Authored-By: Claude [email protected]

Change `using Nemo` to `import Nemo` in test files to avoid
exporting Nemo's `integrate` function which conflicts with
SymbolicIntegration.integrate

This resolves test failures in CompatHelper PRs JuliaSymbolics#16 and JuliaSymbolics#17 where
the ambiguous `integrate` function caused UndefVarError.

Affected files:
- test/methods/risch/test_complex_fields.jl
- test/methods/risch/test_bronstein_examples.jl
- test/methods/risch/test_algorithm_internals.jl
- test/methods/risch/bronstein_examples.jl

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@ChrisRackauckas ChrisRackauckas merged commit a5323ae into JuliaSymbolics:main Oct 22, 2025
11 checks passed
@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@3a32cd9). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #45   +/-   ##
=======================================
  Coverage        ?   22.63%           
=======================================
  Files           ?       20           
  Lines           ?     4131           
  Branches        ?        0           
=======================================
  Hits            ?      935           
  Misses          ?     3196           
  Partials        ?        0           

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

Sign up for free to 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