-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update to matplotlib 3.7.2 * missing manifest entry for *.cfg
- Loading branch information
Showing
8 changed files
with
87 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
--- matplotlib-3.5.2.orig/src/tri/_tri.cpp 2022-05-02 22:49:57 | ||
+++ matplotlib-3.5.2/src/tri/_tri.cpp 2023-09-08 13:17:37 | ||
@@ -13,6 +13,7 @@ | ||
#include <algorithm> | ||
--- matplotlib-3.7.2.orig/src/tri/_tri.cpp 2023-07-05 13:43:01 | ||
+++ matplotlib-3.7.2/src/tri/_tri.cpp 2023-09-10 21:43:21 | ||
@@ -12,6 +12,7 @@ | ||
#include <random> | ||
#include <set> | ||
|
||
+namespace tri { | ||
|
||
TriEdge::TriEdge() | ||
: tri(-1), edge(-1) | ||
@@ -2069,3 +2070,4 @@ | ||
_seed = (_seed*_a + _c) % _m; | ||
return (_seed*max_value) / _m; | ||
@@ -2085,3 +2086,4 @@ | ||
if (upper_right != 0) | ||
upper_right->upper_left = this; | ||
} | ||
+} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
--- matplotlib-3.5.2.orig/src/tri/_tri.h 2022-05-02 22:49:57 | ||
+++ matplotlib-3.5.2/src/tri/_tri.h 2023-09-08 13:17:12 | ||
@@ -72,6 +72,7 @@ | ||
#include <vector> | ||
--- matplotlib-3.7.2.orig/src/tri/_tri.h 2023-07-05 13:43:01 | ||
+++ matplotlib-3.7.2/src/tri/_tri.h 2023-09-10 21:43:47 | ||
@@ -74,6 +74,7 @@ | ||
|
||
namespace py = pybind11; | ||
|
||
+namespace tri { | ||
|
||
/* An edge of a triangle consisting of an triangle index in the range 0 to | ||
* ntri-1 and an edge index in the range 0 to 2. Edge i goes from the | ||
@@ -814,5 +815,6 @@ | ||
const unsigned long _m, _a, _c; | ||
unsigned long _seed; | ||
@@ -799,4 +800,6 @@ | ||
Node* _tree; // Root node of the trapezoid map search tree. Owned. | ||
}; | ||
+} | ||
|
||
+} | ||
+ | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
--- matplotlib-3.5.2.orig/src/tri/_tri_wrapper.cpp 2022-05-02 22:49:57 | ||
+++ matplotlib-3.5.2/src/tri/_tri_wrapper.cpp 2023-09-08 13:23:47 | ||
@@ -1,7 +1,9 @@ | ||
--- matplotlib-3.7.2.orig/src/tri/_tri_wrapper.cpp 2023-07-05 13:43:01 | ||
+++ matplotlib-3.7.2/src/tri/_tri_wrapper.cpp 2023-09-10 21:44:20 | ||
@@ -1,5 +1,6 @@ | ||
#include "_tri.h" | ||
#include "../mplutils.h" | ||
#include "../py_exceptions.h" | ||
+ | ||
|
||
+using namespace tri; | ||
|
||
/* Triangulation */ | ||
|
||
PYBIND11_MODULE(_tri, m) { | ||
py::class_<Triangulation>(m, "Triangulation") | ||
.def(py::init<const Triangulation::CoordinateArray&, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,33 @@ | ||
--- matplotlib-3.5.2.orig/setup.py 2022-05-02 22:49:57 | ||
+++ matplotlib-3.5.2/setup.py 2023-09-10 11:11:57 | ||
@@ -47,7 +47,7 @@ | ||
setupext.FreeType(), | ||
setupext.Qhull(), | ||
setupext.Tests(), | ||
- setupext.BackendMacOSX(), | ||
+# setupext.BackendMacOSX(), | ||
] | ||
|
||
|
||
@@ -315,7 +315,7 @@ | ||
python_requires='>={}'.format('.'.join(str(n) for n in py_min_version)), | ||
setup_requires=[ | ||
"certifi>=2020.06.20", | ||
- "numpy>=1.17", | ||
+# "numpy>=1.17", | ||
"setuptools_scm>=4", | ||
"setuptools_scm_git_archive", | ||
], | ||
@@ -323,7 +323,7 @@ | ||
--- matplotlib-3.7.2.orig/setup.py 2023-07-05 13:43:01 | ||
+++ matplotlib-3.7.2/setup.py 2023-09-10 23:56:43 | ||
@@ -322,7 +322,7 @@ | ||
"cycler>=0.10", | ||
"fonttools>=4.22.0", | ||
"kiwisolver>=1.0.1", | ||
- "numpy>=1.17", | ||
+# "numpy>=1.17", | ||
- "numpy>=1.20", | ||
+# "numpy>=1.20", | ||
"packaging>=20.0", | ||
"pillow>=6.2.0", | ||
"pyparsing>=2.2.1", | ||
"pyparsing>=2.3.1,<3.1", | ||
@@ -339,13 +339,14 @@ | ||
"importlib-resources>=3.2.0", | ||
], | ||
}, | ||
- use_scm_version={ | ||
- "version_scheme": "release-branch-semver", | ||
- "local_scheme": "node-and-date", | ||
- "write_to": "lib/matplotlib/_version.py", | ||
- "parentdir_prefix_version": "matplotlib-", | ||
- "fallback_version": "0.0+UNKNOWN", | ||
- }, | ||
+ #use_scm_version={ | ||
+ # "version_scheme": "release-branch-semver", | ||
+ # "local_scheme": "node-and-date", | ||
+ # "write_to": "lib/matplotlib/_version.py", | ||
+ # "parentdir_prefix_version": "matplotlib-", | ||
+ # "fallback_version": "3.7.2", | ||
+ #}, | ||
+ version = "3.7.2", | ||
cmdclass={ | ||
"build_ext": BuildExtraLibraries, | ||
"build_py": BuildPy, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters