GithubHelp home page GithubHelp logo

Comments (4)

ksaur avatar ksaur commented on May 29, 2024

See also facebook/prophet#2430

from hummingbird.

ksaur avatar ksaur commented on May 29, 2024

It seems that issue was patched. todo: unpin ours

from hummingbird.

ksaur avatar ksaur commented on May 29, 2024

New holidays error based on the way we import prophet:

_____________________________________________________________________________________________________ ERROR collecting tests/test_prophet.py _____________________________________________________________________________________________________
test_prophet.py:8: in <module>
    from hummingbird.ml._utils import pandas_installed, prophet_installed, onnx_runtime_installed
../hummingbird/ml/__init__.py:15: in <module>
    from . import supported as hummingbird_constants
../hummingbird/ml/supported.py:513: in <module>
    prophet_operator_list = _build_prophet_operator_list()
../hummingbird/ml/supported.py:377: in _build_prophet_operator_list
    if prophet_installed():
../hummingbird/ml/_utils.py:191: in prophet_installed
    from prophet import Prophet
../../.local/lib/python3.8/site-packages/prophet/__init__.py:8: in <module>
    from prophet.forecaster import Prophet
../../.local/lib/python3.8/site-packages/prophet/forecaster.py:17: in <module>
    from prophet.make_holidays import get_holiday_names, make_holidays_df
../../.local/lib/python3.8/site-packages/prophet/make_holidays.py:14: in <module>
    import prophet.hdays as hdays_part2
../../.local/lib/python3.8/site-packages/prophet/hdays.py:683: in <module>
    class TU(Turkey):
../../.local/lib/python3.8/site-packages/holidays/registry.py:177: in __init__
    raise TypeError(
E   TypeError: This is a python-holidays entity loader class. For entity inheritance purposes please import a class you want to derive from directly: e.g., `from holidays.countries import Entity` or `from holidays.financial import Entity`.
============================================================================================================ short test summary info =============================================================================================================
ERROR test_prophet.py - TypeError: This is a python-holidays entity loader class. For entity inheritance purposes please import a class you want to derive from directly: e.g., `from holidays.countries import Entity` or `from holidays.finan...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================================================ 1 error in 2.74s ============================================================

from hummingbird.

ksaur avatar ksaur commented on May 29, 2024

Need to leave pinned for now, no quick fix as i see it
See facebook/prophet#2432 , suggests to keep holidays pinned.

from hummingbird.

Related Issues (20)

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.