passagemath-bliss 10.5.42__tar.gz → 10.6.1rc1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {passagemath_bliss-10.5.42/passagemath_bliss.egg-info → passagemath_bliss-10.6.1rc1}/PKG-INFO +11 -7
  2. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/README.rst +9 -4
  3. passagemath_bliss-10.6.1rc1/VERSION.txt +1 -0
  4. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1/passagemath_bliss.egg-info}/PKG-INFO +11 -7
  5. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/pyproject.toml +4 -5
  6. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/sage/graphs/bliss.pyx +30 -6
  7. passagemath_bliss-10.5.42/VERSION.txt +0 -1
  8. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/MANIFEST.in +0 -0
  9. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/passagemath_bliss.egg-info/SOURCES.txt +0 -0
  10. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/passagemath_bliss.egg-info/dependency_links.txt +0 -0
  11. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/passagemath_bliss.egg-info/requires.txt +0 -0
  12. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/passagemath_bliss.egg-info/top_level.txt +0 -0
  13. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/sage/all__sagemath_bliss.py +0 -0
  14. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/sage/graphs/all__sagemath_bliss.py +0 -0
  15. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/sage/graphs/bliss_cpp/bliss_find_automorphisms.h +0 -0
  16. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/setup.cfg +0 -0
  17. {passagemath_bliss-10.5.42 → passagemath_bliss-10.6.1rc1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: passagemath-bliss
3
- Version: 10.5.42
3
+ Version: 10.6.1rc1
4
4
  Summary: passagemath: Graph (iso/auto)morphisms with bliss
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  Maintainer: Matthias Köppe, passagemath contributors
@@ -19,14 +19,13 @@ Classifier: Intended Audience :: Science/Research
19
19
  Classifier: Operating System :: POSIX
20
20
  Classifier: Operating System :: MacOS :: MacOS X
21
21
  Classifier: Programming Language :: Python :: 3 :: Only
22
- Classifier: Programming Language :: Python :: 3.9
23
22
  Classifier: Programming Language :: Python :: 3.10
24
23
  Classifier: Programming Language :: Python :: 3.11
25
24
  Classifier: Programming Language :: Python :: 3.12
26
25
  Classifier: Programming Language :: Python :: 3.13
27
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
27
  Classifier: Topic :: Scientific/Engineering :: Mathematics
29
- Requires-Python: <3.14,>=3.9
28
+ Requires-Python: <3.14,>=3.10
30
29
  Description-Content-Type: text/x-rst
31
30
  Requires-Dist: cysignals!=1.12.0,>=1.11.2
32
31
  Provides-Extra: test
@@ -74,7 +73,7 @@ passagemath attempts to support all major Linux distributions and recent version
74
73
  macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or
75
74
  virtualization.
76
75
 
77
- Complete sets of binary wheels are provided on PyPI for Python versions 3.9.x-3.12.x.
76
+ Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x.
78
77
  Python 3.13.x is also supported, but some third-party packages are still missing wheels,
79
78
  so compilation from source is triggered for those.
80
79
 
@@ -82,8 +81,13 @@ so compilation from source is triggered for those.
82
81
  About this pip-installable distribution package
83
82
  -----------------------------------------------
84
83
 
85
- This pip-installable source distribution ``sagemath-bliss`` is a small
86
- optional distribution for use with ``sagemath-standard``.
84
+ This pip-installable package `passagemath-bliss` is a distribution of a part of the Sage Library. It provides a small subset of the modules of the Sage library ("sagelib", `passagemath-standard`).
87
85
 
88
- It provides a Cython interface to the ``bliss`` library for the purpose
86
+ It provides a Cython interface to the `bliss <https://users.aalto.fi/~tjunttil/bliss/index.html>`_ library for the purpose
89
87
  of computing graph (iso/auto)morphisms.
88
+
89
+
90
+ What is included
91
+ ----------------
92
+
93
+ * see https://github.com/passagemath/passagemath/blob/main/pkgs/sagemath-bliss/MANIFEST.in
@@ -39,7 +39,7 @@ passagemath attempts to support all major Linux distributions and recent version
39
39
  macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or
40
40
  virtualization.
41
41
 
42
- Complete sets of binary wheels are provided on PyPI for Python versions 3.9.x-3.12.x.
42
+ Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x.
43
43
  Python 3.13.x is also supported, but some third-party packages are still missing wheels,
44
44
  so compilation from source is triggered for those.
45
45
 
@@ -47,8 +47,13 @@ so compilation from source is triggered for those.
47
47
  About this pip-installable distribution package
48
48
  -----------------------------------------------
49
49
 
50
- This pip-installable source distribution ``sagemath-bliss`` is a small
51
- optional distribution for use with ``sagemath-standard``.
50
+ This pip-installable package `passagemath-bliss` is a distribution of a part of the Sage Library. It provides a small subset of the modules of the Sage library ("sagelib", `passagemath-standard`).
52
51
 
53
- It provides a Cython interface to the ``bliss`` library for the purpose
52
+ It provides a Cython interface to the `bliss <https://users.aalto.fi/~tjunttil/bliss/index.html>`_ library for the purpose
54
53
  of computing graph (iso/auto)morphisms.
54
+
55
+
56
+ What is included
57
+ ----------------
58
+
59
+ * see https://github.com/passagemath/passagemath/blob/main/pkgs/sagemath-bliss/MANIFEST.in
@@ -0,0 +1 @@
1
+ 10.6.1.rc1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: passagemath-bliss
3
- Version: 10.5.42
3
+ Version: 10.6.1rc1
4
4
  Summary: passagemath: Graph (iso/auto)morphisms with bliss
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  Maintainer: Matthias Köppe, passagemath contributors
@@ -19,14 +19,13 @@ Classifier: Intended Audience :: Science/Research
19
19
  Classifier: Operating System :: POSIX
20
20
  Classifier: Operating System :: MacOS :: MacOS X
21
21
  Classifier: Programming Language :: Python :: 3 :: Only
22
- Classifier: Programming Language :: Python :: 3.9
23
22
  Classifier: Programming Language :: Python :: 3.10
24
23
  Classifier: Programming Language :: Python :: 3.11
25
24
  Classifier: Programming Language :: Python :: 3.12
26
25
  Classifier: Programming Language :: Python :: 3.13
27
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
27
  Classifier: Topic :: Scientific/Engineering :: Mathematics
29
- Requires-Python: <3.14,>=3.9
28
+ Requires-Python: <3.14,>=3.10
30
29
  Description-Content-Type: text/x-rst
31
30
  Requires-Dist: cysignals!=1.12.0,>=1.11.2
32
31
  Provides-Extra: test
@@ -74,7 +73,7 @@ passagemath attempts to support all major Linux distributions and recent version
74
73
  macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or
75
74
  virtualization.
76
75
 
77
- Complete sets of binary wheels are provided on PyPI for Python versions 3.9.x-3.12.x.
76
+ Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x.
78
77
  Python 3.13.x is also supported, but some third-party packages are still missing wheels,
79
78
  so compilation from source is triggered for those.
80
79
 
@@ -82,8 +81,13 @@ so compilation from source is triggered for those.
82
81
  About this pip-installable distribution package
83
82
  -----------------------------------------------
84
83
 
85
- This pip-installable source distribution ``sagemath-bliss`` is a small
86
- optional distribution for use with ``sagemath-standard``.
84
+ This pip-installable package `passagemath-bliss` is a distribution of a part of the Sage Library. It provides a small subset of the modules of the Sage library ("sagelib", `passagemath-standard`).
87
85
 
88
- It provides a Cython interface to the ``bliss`` library for the purpose
86
+ It provides a Cython interface to the `bliss <https://users.aalto.fi/~tjunttil/bliss/index.html>`_ library for the purpose
89
87
  of computing graph (iso/auto)morphisms.
88
+
89
+
90
+ What is included
91
+ ----------------
92
+
93
+ * see https://github.com/passagemath/passagemath/blob/main/pkgs/sagemath-bliss/MANIFEST.in
@@ -3,9 +3,9 @@
3
3
  # Minimum requirements for the build system to execute.
4
4
  requires = [
5
5
  'setuptools >= 77.0.0',
6
- 'passagemath-conf ~= 10.5.42.0',
7
- 'passagemath-setup ~= 10.5.42.0',
8
- 'passagemath-environment ~= 10.5.42.0',
6
+ 'passagemath-conf == 10.6.1rc1',
7
+ 'passagemath-setup == 10.6.1rc1',
8
+ 'passagemath-environment == 10.6.1rc1',
9
9
  'cython >=3.0, != 3.0.3, <4.0', 'cython >=3.0.8,<3.1.0',
10
10
  'cysignals >=1.11.2, != 1.12.0',
11
11
  'pkgconfig',
@@ -32,7 +32,6 @@ classifiers = [
32
32
  "Operating System :: POSIX",
33
33
  "Operating System :: MacOS :: MacOS X",
34
34
  "Programming Language :: Python :: 3 :: Only",
35
- "Programming Language :: Python :: 3.9",
36
35
  "Programming Language :: Python :: 3.10",
37
36
  "Programming Language :: Python :: 3.11",
38
37
  "Programming Language :: Python :: 3.12",
@@ -40,7 +39,7 @@ classifiers = [
40
39
  "Programming Language :: Python :: Implementation :: CPython",
41
40
  "Topic :: Scientific/Engineering :: Mathematics",
42
41
  ]
43
- requires-python = ">=3.9, <3.14"
42
+ requires-python = ">=3.10, <3.14"
44
43
 
45
44
  [project.urls]
46
45
  "release notes" = "https://github.com/passagemath/passagemath/releases"
@@ -377,7 +377,9 @@ cdef canonical_form_from_edge_list(int Vnr, list Vout, list Vin, int Lnr=1, list
377
377
  return new_edges
378
378
 
379
379
 
380
- cpdef canonical_form(G, partition=None, return_graph=False, use_edge_labels=True, certificate=False) noexcept:
380
+ cpdef canonical_form(G, partition=None, return_graph=False,
381
+ use_edge_labels=True, certificate=False,
382
+ immutable=None) noexcept:
381
383
  r"""
382
384
  Return a canonical label for the given (di)graph.
383
385
 
@@ -404,6 +406,12 @@ cpdef canonical_form(G, partition=None, return_graph=False, use_edge_labels=True
404
406
  - ``certificate`` -- boolean (default: ``False``); when set to ``True``,
405
407
  returns the labeling of G into a canonical graph
406
408
 
409
+ - ``immutable`` -- boolean (default: ``None``); whether to create a
410
+ mutable/immutable (di)graph. ``immutable=None`` (default) means that
411
+ the (di)graph and its canonical (di)graph will behave the same way.
412
+
413
+ This parameter is ignored when ``return_graph`` is ``False``.
414
+
407
415
  TESTS::
408
416
 
409
417
  sage: from sage.graphs.bliss import canonical_form # optional - bliss
@@ -503,6 +511,19 @@ cpdef canonical_form(G, partition=None, return_graph=False, use_edge_labels=True
503
511
  Traceback (most recent call last):
504
512
  ...
505
513
  ValueError: some vertices of the graph are not in the partition
514
+
515
+ Check the behavior of parameter ``immutable``::
516
+
517
+ sage: g = Graph({1: {2: 'a'}})
518
+ sage: canonical_form(g, return_graph=True).is_immutable() # optional - bliss
519
+ False
520
+ sage: canonical_form(g, return_graph=True, immutable=True).is_immutable() # optional - bliss
521
+ True
522
+ sage: g = Graph({1: {2: 'a'}}, immutable=True)
523
+ sage: canonical_form(g, return_graph=True).is_immutable() # optional - bliss
524
+ True
525
+ sage: canonical_form(g, return_graph=True, immutable=False).is_immutable() # optional - bliss
526
+ False
506
527
  """
507
528
  # We need this to convert the numbers from <unsigned int> to <long>.
508
529
  # This assertion should be true simply for memory reasons.
@@ -579,14 +600,17 @@ cpdef canonical_form(G, partition=None, return_graph=False, use_edge_labels=True
579
600
  relabel = {int2vert[i]: j for i, j in relabel.items()}
580
601
 
581
602
  if return_graph:
603
+ if immutable is None:
604
+ immutable = G.is_immutable()
582
605
  if directed:
583
- from sage.graphs.digraph import DiGraph
584
- H = DiGraph(new_edges, loops=G.allows_loops(), multiedges=G.allows_multiple_edges())
606
+ from sage.graphs.digraph import DiGraph as GT
585
607
  else:
586
- from sage.graphs.graph import Graph
587
- H = Graph(new_edges, loops=G.allows_loops(), multiedges=G.allows_multiple_edges())
608
+ from sage.graphs.graph import Graph as GT
609
+
610
+ H = GT([range(G.order()), new_edges], format='vertices_and_edges',
611
+ loops=G.allows_loops(), multiedges=G.allows_multiple_edges(),
612
+ immutable=immutable)
588
613
 
589
- H.add_vertices(range(G.order()))
590
614
  return (H, relabel) if certificate else H
591
615
 
592
616
  # Warning: this may break badly in Python 3 if the graph is not simple
@@ -1 +0,0 @@
1
- 10.5.42