Repository navigation
Description
Description
Several executables declared in the package copilot lack version bounds around dependencies. Specifically, several examples related to what4 lack version bounds on base and containers. While the former is deduced from the version bounds imposed by the library and other executables in the package, the same cannot be said about containers, since only what4-arithmetic-counterexamples depends on it.
This lack of version bounds also causes a warning when uploading the package to Hackage:
Warnings:
- [missing-upper-bounds] On executable 'what4-arithmetic-counterexamples',
these packages miss upper bounds:
- containers
Just like we should avoid warnings in code, so should we in package specifications.
Type
- Management: Cabal file is missing version information, leading to a warning.
Additional context
None.
Requester
- Ivan Perez.
Method to check presence of bug
It's not possible to check automatically. The check is done by opening the cabal files and checking whether all dependencies of all components specify version bounds for all packages that are not part of the Copilot project.
Expected result
All executables in the copilot package specify version bounds for all dependencies that are not part of the Copilot project.
Desired result
All executables in the copilot package specify version bounds for all dependencies that are not part of the Copilot project.
Proposed solution
Add version bounds for base in all executables in copilot/copilot.cabal, matching the version constraints applied to base elsewhere in the package.
Add version bounds on containers for what4-arithmetic-counterexamples in copilot/copilot.cabal, matching the version constraints applied to containers elsewhere in the Copilot project.
Further notes
None.
Activity
ivanperez-keera commentedon May 26, 2026
Change Manager: Confirmed that the issue exists.
ivanperez-keera commentedon May 26, 2026
Technical Lead: Confirmed that the issue should be addressed.