diff --git a/Tutorial/demo_mutag.py b/Tutorial/demo_mutag.py index 7f7887cb..6de15f15 100644 --- a/Tutorial/demo_mutag.py +++ b/Tutorial/demo_mutag.py @@ -11,10 +11,10 @@ # Load data # comment next line if data.mutag is in a different folder -mutag_list = np.load("graphkernels/data.mutag") +mutag_list = np.load("graphkernels/data.mutag", allow_pickle=True) # Uncomment next line if data.mutag is in your current folder -#mutag_list = np.load("data.mutag") +#mutag_list = np.load("data.mutag", allow_pickle=True) ### ALL KERNELS COMPUTE K1 = gk.CalculateEdgeHistKernel(mutag_list) diff --git a/src/GKextCPy/setup.py b/src/GKextCPy/setup.py index 2b481b43..f3248bd8 100644 --- a/src/GKextCPy/setup.py +++ b/src/GKextCPy/setup.py @@ -13,7 +13,7 @@ # Solve the chicken-and-egg problem of requiring packages *before* the # script has been parsed. -for package in ['numpy', 'pkgconfig']: +for package in ['numpy<2.0', 'pkgconfig']: # Don't try to install packages that already exist. try: @@ -55,7 +55,7 @@ def get_include_dirs(): ) setup(name = 'GKextCPy', - version = '0.4.1', + version = '0.4.2', author = 'Elisabetta Ghisu', description = """Graph Kernels: building the extension Python module. This is a wrapper package from C++ to Python.""", ext_modules = [GKextCPy_module],