1From 6df089258c2ef4356427263f652cff0c053c6173 Mon Sep 17 00:00:00 2001 2From: Sveinung Rundhovde <ssru@equinor.com> 3Date: Fri, 26 Jul 2024 15:03:33 +0200 4Subject: [PATCH] Fix attribute error in setup.py 5 6This line was causing a error due to an update to scikit-build. The 7issue was that the setuptools.command.test module is not put into the 8symbol table by the setuptools import, but it was put there during the 9skbuild import causing it to be available. Due to changes in 10scikit-build this is no longer the case and the line gives an 11AttributError. 12 13The rationale for this line was that scikit-builds test command implied 14develop (this was obnoxious), something that is no longer true. There is 15thus no longer any reason to keep this line, so we can fix this issue by 16simply removing it. 17--- 18 python/setup.py | 1 - 19 1 file changed, 1 deletion(-) 20 21diff --git a/python/setup.py b/python/setup.py 22index 6c6553bc..6bae62f0 100644 23--- a/python/setup.py 24+++ b/python/setup.py 25@@ -95,7 +95,6 @@ def src(x): 26 # supported OS X release 10.9 27 '-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9', 28 ], 29- cmdclass = { 'test': setuptools.command.test.test }, 30 classifiers = [ 31 'Development Status :: 5 - Production/Stable', 32 'Environment :: Other Environment',