Skip to content
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

sagews: deprecation warning #6750

Closed
haraldschilly opened this issue May 27, 2023 · 1 comment
Closed

sagews: deprecation warning #6750

haraldschilly opened this issue May 27, 2023 · 1 comment

Comments

@haraldschilly
Copy link
Contributor

haraldschilly commented May 27, 2023

Running this in Sage 10.0 (or earlier, didn't check) causes deprecation warnings. Which means something should be updated, and set a parameter (!?!)

show(graphs.RandomBarabasiAlbert(5, 2))
/cocalc/lib/python3.10/site-packages/smc_sagews/graphics.py:542: DeprecationWarning: parameter 'sort' will be set to False by default in the future
See https://github.com/sagemath/sage/issues/22349 for details.
  v_to_id = {v: i for i, v in enumerate(G.vertices())}


/cocalc/lib/python3.10/site-packages/smc_sagews/graphics.py:552: DeprecationWarning: parameter 'sort' will be set to False by default in the future
See https://github.com/sagemath/sage/issues/22349 for details.
  for v in G.vertices():

/cocalc/lib/python3.10/site-packages/smc_sagews/graphics.py:571: DeprecationWarning: parameter 'sort' will be set to False by default in the future
See https://github.com/sagemath/sage/issues/27408 for details.
  for u, v, l in G.edges():

Ref

@haraldschilly
Copy link
Contributor Author

This is ok in 10.3, ticket is no longer relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant