-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
sage.graphs: Use Executable.absolute_filename() #33465
Comments
Commit: |
Changed author from Matthias Koeppe to Matthias Koeppe, ... |
This comment has been minimized.
This comment has been minimized.
Last 10 new commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed author from Matthias Koeppe, ... to Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
comment:13
The patchbot reports pyflakes and deprecation number errors. |
comment:14
The deprecations are coming from the dependencies, specifically #31292. The pyflakes warnings are not related to the ticket |
comment:15
There is an error with with
It can be fixed this way diff --git a/src/sage/graphs/graph_generators.py b/src/sage/graphs/graph_generators.py
index e358d07ec6..f047a6ebbe 100644
--- a/src/sage/graphs/graph_generators.py
+++ b/src/sage/graphs/graph_generators.py
@@ -1384,7 +1384,7 @@ class GraphGenerators():
import shlex
command = shlex.quote(Benzene().absolute_filename())
- command += ('b' if benzenoids else '') + ' {0} p'.format(hexagon_count)
+ command += (' b' if benzenoids else '') + ' {0} p'.format(hexagon_count)
sp = subprocess.Popen(command, shell=True,
stdin=subprocess.PIPE, stdout=subprocess.PIPE, I have tested the ticket with |
comment:17
Thanks for catching this! |
comment:18
LGTM. |
Reviewer: David Coudert |
comment:19
Thank you! |
Changed branch from u/mkoeppe/sage_graphs__use_executable_absolute_filename__ to |
This is so that the Sage library becomes fully functional even when not being run from within sage-env (which sets PATH).
We add
sage.features.nauty
to provide features for nauty executables.To test:
Depends on #31292
Depends on #31296
Depends on #31590
CC: @dcoudert @dimpase
Component: graph theory
Author: Matthias Koeppe
Branch/Commit:
9107e2c
Reviewer: David Coudert
Issue created by migration from https://trac.sagemath.org/ticket/33465
The text was updated successfully, but these errors were encountered: