GithubHelp home page GithubHelp logo

ewah_bool_utils's People

Contributors

alrosen avatar ashkelly avatar atmyers avatar bitjockey42 avatar bqia0 avatar brittonsmith avatar bwkeller avatar cgyurgyik avatar chummels avatar cosmosquark avatar cphyc avatar dependabot[bot] avatar egaraldi avatar jisuoqing avatar jzuhone avatar langmm avatar lindsayad avatar matthewturk avatar mlarichardson avatar munkm avatar neutrinoceros avatar pgrete avatar pre-commit-ci[bot] avatar qobilidop avatar samskillman avatar scopatz avatar teto2 avatar thatsfine avatar themousepotato avatar xarthisius avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ewah_bool_utils's Issues

Tests fail to find the module ewah_bool_utils.ewah_bool_wrap

===>  Testing for py39-ewah-bool-utils-1.0.2
===>   py39-ewah-bool-utils-1.0.2 depends on package: py39-pytest>=7,1 - found
===>   py39-ewah-bool-utils-1.0.2 depends on file: /usr/local/bin/python3.9 - found
cd /usr/ports/devel/py-ewah-bool-utils/work-py39/ewah_bool_utils-1.0.2/tests && /usr/bin/env XDG_DATA_HOME=/usr/ports/devel/py-ewah-bool-utils/work-py39  XDG_CONFIG_HOME=/usr/ports/devel/py-ewah-bool-utils/work-py39  XDG_CACHE_HOME=/usr/ports/devel/py-ewah-bool-utils/work-py39/.cache  HOME=/usr/ports/devel/py-ewah-bool-utils/work-py39 PATH=/usr/local/libexec/ccache:/usr/ports/devel/py-ewah-bool-utils/work-py39/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/devel/py-ewah-bool-utils/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" PYTHONPATH=/usr/ports/devel/py-ewah-bool-utils/work-py39/stage/usr/local/lib/python3.9/site-packages /usr/local/bin/python3.9 -m pytest -k '' -rs -v -o addopts= 
============================================================================================================ test session starts =============================================================================================================
platform freebsd13 -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/usr/ports/devel/py-ewah-bool-utils/work-py39/ewah_bool_utils-1.0.2/tests/.hypothesis/examples')
Using --randomly-seed=174909104
rootdir: /usr/ports/devel/py-ewah-bool-utils/work-py39/ewah_bool_utils-1.0.2
plugins: forked-1.6.0, hypothesis-6.72.4, cov-2.9.0, mypy-plugins-1.11.1, randomly-3.12.0, timeout-2.1.0, flaky-3.7.0, rerunfailures-11.1.2, xdist-2.5.0, env-0.6.2, mock-3.10.0
collected 0 items / 1 error                                                                                                                                                                                                                  

=================================================================================================================== ERRORS ===================================================================================================================
_______________________________________________________________________________________________ ERROR collecting tests/test_ewah_bool_utils.py _______________________________________________________________________________________________
ImportError while importing test module '/usr/ports/devel/py-ewah-bool-utils/work-py39/ewah_bool_utils-1.0.2/tests/test_ewah_bool_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_ewah_bool_utils.py:7: in <module>
    from ewah_bool_utils._testing import (
../ewah_bool_utils/__init__.py:4: in <module>
    from .ewah_bool_wrap import *
E   ModuleNotFoundError: No module named 'ewah_bool_utils.ewah_bool_wrap'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================================================================== 1 error in 0.45s ==============================================================================================================

Version: 1.0.2
Python-3.9
FreeBSD 13.2

BLD: future incompatibility with Cython (>=3.1 ?)

The code currently compiles fine on Cyhton 3.0 (see #51), however we get a couple warnings similar to

warning: ewah_bool_utils/morton_utils.pxd:13:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310

the problem is that there currently is no clear path to migrate away from this deprecated functionality: cython/cython#4310

This is the reason why I'm pinning Cython<3.1 in #51

BUG: dependency conflict on some platforms

from https://github.com/yt-project/yt/actions/runs/3759612728/jobs/6389384969 :

The conflict is caused by:
          ewah-bool-utils 1.0.1 depends on numpy>=1.17.5
          oldest-supported-numpy 2022.11.19 depends on numpy==1.17.3; python_version == "3.8" and platform_machine not in "arm64|aarch64|s390x|loongarch64" and platform_python_implementation != "PyPy"

I checked that no version of numpy older than 1.17.3 ever had support for Python 3.8, so it should be sufficient to lower that requirement.

BUG: linking issues when including ewah_bool_utils at compilation time

Even after #16, another issue remains when trying to compile yt with ewah-bool-utils as a drop in replacement for the vendored equivalent:

Log
Installing collected packages: yt
  Attempting uninstall: yt
    Found existing installation: yt 4.2.dev0
    Uninstalling yt-4.2.dev0:
      Successfully uninstalled yt-4.2.dev0
  Running setup.py develop for yt
    error: subprocess-exited-with-error
    
    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─> [51 lines of output]
        Unable to compile OpenMP test program so Cython
        extensions will be compiled without parallel support
        running develop
        /Users/robcleme/.pyenv/versions/yt-dev/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
          warnings.warn(
        /Users/robcleme/.pyenv/versions/yt-dev/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
          warnings.warn(
        running egg_info
        writing yt.egg-info/PKG-INFO
        writing dependency_links to yt.egg-info/dependency_links.txt
        writing entry points to yt.egg-info/entry_points.txt
        writing requirements to yt.egg-info/requires.txt
        writing top-level names to yt.egg-info/top_level.txt
        reading manifest file 'yt.egg-info/SOURCES.txt'
        reading manifest template 'MANIFEST.in'
        warning: no previously-included files found matching 'scripts/pr_backport.py'
        warning: no previously-included files found matching 'yt/utilities/lib/cykdtree/c_kdtree.cpp'
        no previously-included directories found matching 'tests'
        no previously-included directories found matching 'docker'
        no previously-included directories found matching 'answer-store'
        warning: no files found matching 'README*' under directory 'yt'
        warning: no files found matching '*.svgz' under directory 'doc'
        warning: no files found matching '*.pdf' under directory 'doc'
        warning: no previously-included files found matching 'doc/cheatsheet.pdf'
        no previously-included directories found matching 'doc/source/reference/api/generated'
        no previously-included directories found matching 'doc/build'
        no previously-included directories found matching '.tours'
        warning: no files found matching '*.fragmentshader' under directory 'yt/visualization/volume_rendering/shaders'
        warning: no files found matching '*.vertexshader' under directory 'yt/visualization/volume_rendering/shaders'
        warning: no previously-included files found matching '.codecov.yml'
        warning: no previously-included files found matching '.coveragerc'
        warning: no previously-included files found matching '.git-blame-ignore-revs'
        warning: no previously-included files found matching '.gitmodules'
        warning: no previously-included files found matching '.hgchurn'
        warning: no previously-included files found matching '.mailmap'
        warning: no previously-included files found matching '.pre-commit-config.yaml'
        warning: no previously-included files found matching 'clean.sh'
        warning: no previously-included files found matching 'nose_answer.cfg'
        warning: no previously-included files found matching 'nose_unit.cfg'
        adding license file 'COPYING.txt'
        writing manifest file 'yt.egg-info/SOURCES.txt'
        running build_ext
        building 'yt.geometry.particle_oct_container' extension
        clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -Iyt/utilities/lib/ -I/Users/robcleme/.pyenv/versions/yt-dev/include -I/Users/robcleme/.pyenv/versions/3.10.8/include/python3.10 -I/Users/robcleme/.pyenv/versions/yt-dev/lib/python3.10/site-packages/numpy/core/include -c yt/geometry/particle_oct_container.cpp -o build/temp.macosx-13.0-x86_64-cpython-310/yt/geometry/particle_oct_container.o -std=c++14
        yt/geometry/particle_oct_container.cpp:809:10: fatal error: 'ewah.h' file not found
        #include "ewah.h"
                 ^~~~~~~~
        1 error generated.
        error: command '/usr/bin/clang' failed with exit code 1
        While building 'yt.geometry.particle_oct_container' following error was raised:
         command '/usr/bin/clang' failed with exit code 1
        [end of output]
    
    note: This error originates from a subprocess, and is likely not a problem with pip.
  Rolling back uninstall of yt
  Moving to /Users/robcleme/.pyenv/versions/3.10.8/envs/yt-dev/bin/yt
   from /private/var/folders/xh/yfmp7l9n3x50ln2yvrndt7c801pbkm/T/pip-uninstall-_nlau_0d/yt
  Moving to /Users/robcleme/.pyenv/versions/3.10.8/envs/yt-dev/lib/python3.10/site-packages/__editable__.yt-4.2.dev0.pth
   from /private/var/folders/xh/yfmp7l9n3x50ln2yvrndt7c801pbkm/T/pip-uninstall-7mwv85st/__editable__.yt-4.2.dev0.pth
  Moving to /Users/robcleme/.pyenv/versions/3.10.8/envs/yt-dev/lib/python3.10/site-packages/__editable___yt_4_2_dev0_finder.py
   from /private/var/folders/xh/yfmp7l9n3x50ln2yvrndt7c801pbkm/T/pip-uninstall-7mwv85st/__editable___yt_4_2_dev0_finder.py
  Moving to /Users/robcleme/.pyenv/versions/3.10.8/envs/yt-dev/lib/python3.10/site-packages/__pycache__/__editable___yt_4_2_dev0_finder.cpython-310.pyc
   from /private/var/folders/xh/yfmp7l9n3x50ln2yvrndt7c801pbkm/T/pip-uninstall-7mwv85st/__pycache__/__editable___yt_4_2_dev0_finder.cpython-310.pyc
  Moving to /Users/robcleme/.pyenv/versions/3.10.8/envs/yt-dev/lib/python3.10/site-packages/yt-4.2.dev0.dist-info/
   from /Users/robcleme/.pyenv/versions/3.10.8/envs/yt-dev/lib/python3.10/site-packages/~t-4.2.dev0.dist-info
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [51 lines of output]
    Unable to compile OpenMP test program so Cython
    extensions will be compiled without parallel support
    running develop
    /Users/robcleme/.pyenv/versions/yt-dev/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    /Users/robcleme/.pyenv/versions/yt-dev/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    running egg_info
    writing yt.egg-info/PKG-INFO
    writing dependency_links to yt.egg-info/dependency_links.txt
    writing entry points to yt.egg-info/entry_points.txt
    writing requirements to yt.egg-info/requires.txt
    writing top-level names to yt.egg-info/top_level.txt
    reading manifest file 'yt.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files found matching 'scripts/pr_backport.py'
    warning: no previously-included files found matching 'yt/utilities/lib/cykdtree/c_kdtree.cpp'
    no previously-included directories found matching 'tests'
    no previously-included directories found matching 'docker'
    no previously-included directories found matching 'answer-store'
    warning: no files found matching 'README*' under directory 'yt'
    warning: no files found matching '*.svgz' under directory 'doc'
    warning: no files found matching '*.pdf' under directory 'doc'
    warning: no previously-included files found matching 'doc/cheatsheet.pdf'
    no previously-included directories found matching 'doc/source/reference/api/generated'
    no previously-included directories found matching 'doc/build'
    no previously-included directories found matching '.tours'
    warning: no files found matching '*.fragmentshader' under directory 'yt/visualization/volume_rendering/shaders'
    warning: no files found matching '*.vertexshader' under directory 'yt/visualization/volume_rendering/shaders'
    warning: no previously-included files found matching '.codecov.yml'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.git-blame-ignore-revs'
    warning: no previously-included files found matching '.gitmodules'
    warning: no previously-included files found matching '.hgchurn'
    warning: no previously-included files found matching '.mailmap'
    warning: no previously-included files found matching '.pre-commit-config.yaml'
    warning: no previously-included files found matching 'clean.sh'
    warning: no previously-included files found matching 'nose_answer.cfg'
    warning: no previously-included files found matching 'nose_unit.cfg'
    adding license file 'COPYING.txt'
    writing manifest file 'yt.egg-info/SOURCES.txt'
    running build_ext
    building 'yt.geometry.particle_oct_container' extension
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -Iyt/utilities/lib/ -I/Users/robcleme/.pyenv/versions/yt-dev/include -I/Users/robcleme/.pyenv/versions/3.10.8/include/python3.10 -I/Users/robcleme/.pyenv/versions/yt-dev/lib/python3.10/site-packages/numpy/core/include -c yt/geometry/particle_oct_container.cpp -o build/temp.macosx-13.0-x86_64-cpython-310/yt/geometry/particle_oct_container.o -std=c++14
    yt/geometry/particle_oct_container.cpp:809:10: fatal error: 'ewah.h' file not found
    #include "ewah.h"
             ^~~~~~~~
    1 error generated.
    error: command '/usr/bin/clang' failed with exit code 1
    While building 'yt.geometry.particle_oct_container' following error was raised:
     command '/usr/bin/clang' failed with exit code 1
    [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.