-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing dependency on package FGA #117
Comments
Thanks for pointing this out. @sebastianpos This is a one-line function. Should we really introduce a dependency here or have our own function? The function that replaces this is
|
No, a dependency from FGA seems implausible. |
I provided a PR to the GAP repository: gap-system/gap#2021 Once it is merged, we can replace |
Thanks @sebasguts but unfortunately it does not solve problems for GAP 4.8 releases. The problem was not visible in regression tests before, since FGA was loaded before CAP. But after some recent package updates the order in which packages are loaded changed, and now I can see the error message about unbound global variable in the test logs. I will try to find which package(s) are responsible for that and revert those packages to their prior versions included in GAP 4.8.9 (which did not have that problem). Alternatively, an urgent release of CAP with the documented dependency may be more helpful. |
CAP-2017.12.30 uses BoundPositions from the FGA package without declaring this dependency. See homalg-project/CAP_project#117 for the discussion.
My previous analysis was incorrect - I've assumed that the error report refers to the current release of CAP, not to its development version. So, the problem did not appear in GAP 4.8.9 distribution because CAP version there did not use I've now specified that GAP 4.8.10 distribution should use stable releases of packages from the CAP project in gap-system/gap-distribution@a5e71a1. There is no need for an urgent release then, just fixing this in due course by switching to |
@alex-konovalov okay. Since the commit defining |
to get rid of hidden FGA dependence. Closes homalg-project#117.
This is a reminder that I still can not include latest releases of the CAP project in GAP 4.9 distribution because of this issue (see https://github.com/gap-system/gap/wiki/Package-updates-status - am using their stable versions instead). |
Thanks for the reminder. I just merged the corresponding PR and will make a release this weekend. |
@sebasguts Did the release happen? I don't see any new versions of CAP & friends being picked up. |
LOOPS still breaks tests in stable-4.9 branch. CAP was already set to stable in stable-4.9 because of the problem with `BoundPositions`.
CAP uses the global function
BoundPositions
which is installed by the package FGA. However, CAP has no dependency on FGA. Thus, if CAP is loaded without loading FGA first, the following warnings appear:The corresponding code references are:
CAP_project/CAP/gap/ToolsForCategories.gi
Line 747 in 1ad16e2
CAP_project/CAP/gap/ToolsForCategories.gi
Line 787 in 1ad16e2
The text was updated successfully, but these errors were encountered: