Package Details: python2-scikit-build 0.10.0-2

Git Clone URL: https://aur.archlinux.org/python-scikit-build.git (read-only)
Package Base: python-scikit-build
Description: Improved build system generator for CPython C, C++, Cython and Fortran extensions
Upstream URL: https://github.com/scikit-build/scikit-build
Licenses: MIT
Submitter: m-pilia
Maintainer: m-pilia
Last Packager: m-pilia
Votes: 0
Popularity: 0.000000
First Submitted: 2018-03-27 05:38
Last Updated: 2019-10-03 17:40

Dependencies (28)

Required by (2)

Sources (1)

Latest Comments

m-pilia commented on 2019-11-02 10:42

@homunkoloss: Hi! It seems there is something wrong with the test environment. I do not remember this happening in a clean build container at the time I updated the package, it may be due to some update of some dependency.

As a workaround, since this seems to be only an issue with the pytest setup, you can delete or comment out the check() function from the PKGBUILD file.

homunkoloss commented on 2019-11-02 10:09

I am getting an error and I couldn't figure out the issue myself, first I thought it might be a missing dependency and I tried installing python2-path.py and others but to no avail. Any ideas?

==> Beginne check()... ================================================================================== test session starts =================================================================================== platform linux -- Python 3.7.4, pytest-5.2.1, py-1.8.0, pluggy-0.13.0 rootdir: /home/homunkoloss/.cache/yay/python-scikit-build/src/scikit-build-0.10.0 plugins: virtualenv-1.7.0, mock-1.10.4, cov-2.8.1, shutil-1.7.0 collected 221 items / 6 deselected / 215 selected

tests/test_broken_project.py ....... [ 3%] tests/test_cmakelists_not_in_top_level_dir.py ..... [ 5%] tests/test_cmaker.py ......... [ 9%] tests/test_command_line.py .............. [ 16%] tests/test_distribution.py ss [ 17%] tests/test_hello_cpp.py ...... [ 20%] tests/test_hello_cython.py ... [ 21%] tests/test_hello_pure.py .... [ 23%] tests/test_include_exclude_data.py .... [ 25%] tests/test_issue284_build_ext_inplace.py . [ 25%] tests/test_issue335_support_cmake_source_dir.py . [ 26%] tests/test_issue342_cmake_osx_args_in_setup.py ....... [ 29%] tests/test_issue352_isolated_environment_support.py . [ 29%] tests/test_issue401_sdist_with_symlinks.py . [ 30%] tests/test_manifest_in.py .. [ 31%] tests/test_outside_project_root.py ... [ 32%] tests/test_platform.py ..........s [ 37%] tests/test_setup.py ..............................................................sss.sss.sss.sss.sss.sss.sss.sss..... [ 83%] tests/test_skbuild.py .s...ssssss [ 88%] tests/test_skbuild_variable.py ... [ 89%] tests/test_utils.py ...................... [100%]

==================================================================================== warnings summary ==================================================================================== /usr/lib/python3.7/site-packages/_pytest/mark/structures.py:325 /usr/lib/python3.7/site-packages/_pytest/mark/structures.py:325: PytestUnknownMarkWarning: Unknown pytest.mark.fortran - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html PytestUnknownMarkWarning,

tests/test_broken_project.py::test_invalid_generator tests/test_skbuild.py::test_invalid_generator[generator_args0] tests/test_skbuild.py::test_invalid_generator[generator_args1] /home/homunkoloss/.cache/yay/python-scikit-build/src/scikit-build-0.10.0/skbuild/platform_specifics/linux.py:27: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5 distribution_name = platform.linux_distribution()[0]

tests/test_hello_cpp.py::test_hello_wheel /home/homunkoloss/.cache/yay/python-scikit-build/src/scikit-build-0.10.0/tests/test_hello_cpp.py:75: DeprecationWarning: SO is deprecated, use EXT_SUFFIX 'hello/_hello%s' % (sysconfig.get_config_var('SO')),

tests/test_hello_cython.py::test_hello_cython_wheel /home/homunkoloss/.cache/yay/python-scikit-build/src/scikit-build-0.10.0/tests/test_hello_cython.py:52: DeprecationWarning: SO is deprecated, use EXT_SUFFIX 'hello_cython/_hello%s' % (sysconfig.get_config_var('SO')),

tests/test_issue284_build_ext_inplace.py::test_build_ext_inplace_command /home/homunkoloss/.cache/yay/python-scikit-build/src/scikit-build-0.10.0/tests/test_issue284_build_ext_inplace.py:12: DeprecationWarning: SO is deprecated, use EXT_SUFFIX assert os.path.exists('hello/_hello_sk%s' % sysconfig.get_config_var('SO'))

tests/test_issue284_build_ext_inplace.py::test_build_ext_inplace_command /home/homunkoloss/.cache/yay/python-scikit-build/src/scikit-build-0.10.0/tests/test_issue284_build_ext_inplace.py:15: DeprecationWarning: SO is deprecated, use EXT_SUFFIX assert os.path.exists('hello/_hello_ext%s' % du_sysconfig.get_config_var('SO'))

-- Docs: https://docs.pytest.org/en/latest/warnings.html ========================================================== 181 passed, 34 skipped, 6 deselected, 8 warnings in 65.24s (0:01:05) ========================================================== Traceback (most recent call last): File "/usr/bin/pytest2", line 11, in <module> load_entry_point('pytest==4.6.4', 'console_scripts', 'pytest')() File "/usr/lib/python2.7/site-packages/_pytest/config/init.py", line 63, in main config = _prepareconfig(args, plugins) File "/usr/lib/python2.7/site-packages/_pytest/config/init.py", line 207, in _prepareconfig pluginmanager=pluginmanager, args=args File "/usr/lib/python2.7/site-packages/pluggy/hooks.py", line 286, in call return self._hookexec(self, self.get_hookimpls(), kwargs) File "/usr/lib/python2.7/site-packages/pluggy/manager.py", line 92, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/usr/lib/python2.7/site-packages/pluggy/manager.py", line 86, in <lambda> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, File "/usr/lib/python2.7/site-packages/pluggy/callers.py", line 203, in _multicall gen.send(outcome) File "/usr/lib/python2.7/site-packages/_pytest/helpconfig.py", line 94, in pytest_cmdline_parse config = outcome.get_result() File "/usr/lib/python2.7/site-packages/pluggy/callers.py", line 81, in get_result _reraise(ex) # noqa File "/usr/lib/python2.7/site-packages/pluggy/callers.py", line 187, in _multicall res = hook_impl.function(args) File "/usr/lib/python2.7/site-packages/_pytest/config/init.py", line 687, in pytest_cmdline_parse self.parse(args) File "/usr/lib/python2.7/site-packages/_pytest/config/init.py", line 895, in parse self._preparse(args, addopts=addopts) File "/usr/lib/python2.7/site-packages/_pytest/config/init.py", line 841, in _preparse self.pluginmanager.load_setuptools_entrypoints("pytest11") File "/usr/lib/python2.7/site-packages/pluggy/manager.py", line 297, in load_setuptools_entrypoints plugin = ep.load() File "/usr/lib/python2.7/site-packages/importlib_metadata/init.py", line 92, in load module = import_module(match.group('module')) File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module import(name) File "/usr/lib/python2.7/site-packages/_pytest/assertion/rewrite.py", line 304, in load_module exec(co, mod.dict) File "/usr/lib/python2.7/site-packages/pytest_virtualenv.py", line 12, in <module> from path import path as Path ImportError: No module named path ==> FEHLER: Ein Fehler geschah in check(). Breche ab... Error making: python-scikit-build (python2-scikit-build) yay -Syu python2-scikit-build 54,33s user 12,12s system 52% cpu 2:07,26 total

m-pilia commented on 2019-10-03 17:41

@bnavigator: Thanks!

bnavigator commented on 2019-09-27 14:59

Hi,

please add the following patch to provide a Python 2 package and properly include the necessary dependencies.

https://gist.github.com/bnavigator/f304f7b52eab8d445516dad2c5cbf16a

m-pilia commented on 2018-07-31 11:13

Fixed, thanks!

bage commented on 2018-07-31 08:40

python-setuptools and python-wheel should be in dependencies.