Skip to content

How to setup the dev environment? #593

@jakob1379

Description

@jakob1379

Describe the question you have

I feel stupid for having to ask this, but boxing with this for too long I am at my wits end...

I followed what I could find in the docs, cloned the repo, checked out a tag (just for reference 2.0.4), pip install -e . and installed dependencies from makefile etc. Running the make test yields

========================================================================= short test summary info =========================================================================
FAILED pmdarima/arima/tests/test_auto.py::test_oob_with_zero_out_of_sample_size - assert "'force_all_f...moved in 1.8." == 'information_...terion = aic.'
FAILED pmdarima/arima/tests/test_utils.py::test_issue_351 - assert 3 == 1
FAILED pmdarima/arima/tests/test_validation.py::test_check_information_criterion[aic-0-False-False-aic] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_check_information_criterion[aicc-0-False-False-aicc] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_check_information_criterion[bic-0-False-False-bic] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_check_information_criterion[hqic-0-False-False-hqic] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_check_information_criterion[oob-10-False-False-oob] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_check_m[12-True-False-False-12] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_check_m[1-True-False-False-1] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_check_m[0-False-False-False-0] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_check_m[1-False-False-False-0] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_check_n_jobs[False-1-False-1] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_check_n_jobs[True-1-False-1] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_check_n_jobs[False-2-False-2] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED pmdarima/arima/tests/test_validation.py::test_warn_for_D[0-1-None] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
======================================================== 15 failed, 434 passed, 2480 warnings in 140.66s (0:02:20) =======================================================

So either a lot of tests are knowingly failing, the requirements are not properly defined, or i am doing something wrong.

Versions (if necessary)

❯ uv pip tree
codecov v2.1.13
├── coverage v7.10.2
└── requests v2.32.4
    ├── certifi v2025.8.3
    ├── charset-normalizer v3.4.2
    ├── idna v3.10
    └── urllib3 v2.5.0
flake8 v7.3.0
├── mccabe v0.7.0
├── pycodestyle v2.14.0
└── pyflakes v3.4.0
pip v25.2
pmdarima v0.0.0
├── cython v3.1.2
├── joblib v1.5.1
├── numpy v1.26.4
├── packaging v25.0
├── pandas v2.3.1
│   ├── numpy v1.26.4
│   ├── python-dateutil v2.9.0.post0
│   │   └── six v1.17.0
│   ├── pytz v2025.2
│   └── tzdata v2025.2
├── scikit-learn v1.7.1
│   ├── joblib v1.5.1
│   ├── numpy v1.26.4
│   ├── scipy v1.16.1
│   │   └── numpy v1.26.4
│   └── threadpoolctl v3.6.0
├── scipy v1.16.1 (*)
├── setuptools v80.9.0
├── statsmodels v0.14.5
│   ├── numpy v1.26.4
│   ├── packaging v25.0
│   ├── pandas v2.3.1 (*)
│   ├── patsy v1.0.1
│   │   └── numpy v1.26.4
│   └── scipy v1.16.1 (*)
└── urllib3 v2.5.0
pytest-cov v6.2.1
├── coverage v7.10.2
├── pluggy v1.6.0
└── pytest v8.4.1
    ├── iniconfig v2.1.0
    ├── packaging v25.0
    ├── pluggy v1.6.0
    └── pygments v2.19.2
pytest-mpl v0.17.0
├── jinja2 v3.1.6
│   └── markupsafe v3.0.2
├── matplotlib v3.10.5
│   ├── contourpy v1.3.3
│   │   └── numpy v1.26.4
│   ├── cycler v0.12.1
│   ├── fonttools v4.59.0
│   ├── kiwisolver v1.4.8
│   ├── numpy v1.26.4
│   ├── packaging v25.0
│   ├── pillow v11.3.0
│   ├── pyparsing v3.2.3
│   └── python-dateutil v2.9.0.post0 (*)
├── packaging v25.0
├── pillow v11.3.0
└── pytest v8.4.1 (*)
pytest-xdist v3.8.0
├── execnet v2.1.1
└── pytest v8.4.1 (*)
wheel v0.45.1
(*) Package tree already displayed

❯ fastfetch
           `.:/ossyyyysso/:.                jga@laptop
        .:oyyyyyyyyyyyyyyyyyyo:`            ------
      -oyyyyyyyodMMyyyyyyyysyyyyo-          OS: Kubuntu 24.04.2 LTS (Noble Numbat) x86_64
    -syyyyyyyyyydMMyoyyyydmMMyyyyys-        Host: 20S1S8KN00 (ThinkPad T14 Gen 1)
   oyyysdMysyyyydMMMMMMMMMMMMMyyyyyyyo      Kernel: Linux 6.12.40
 `oyyyydMMMMysyysoooooodMMMMyyyyyyyyyo`     Uptime: 6 hours, 49 mins
 oyyyyyydMMMMyyyyyyyyyyyysdMMysssssyyyo     Packages: 432 (dpkg)
-yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy-    Shell: bash 5.3.0
oyyyysoodMyyyyyyyyyyyyyyyyyyydMMMMysyyyo    Display (PHL 346E2C): 3440x1440 @ 60 Hz in 34" [External]
yyysdMMMMMyyyyyyyyyyyyyyyyyyysosyyyyyyyy    DE: KDE Plasma
yyysdMMMMMyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy    WM: KWin (Wayland)
oyyyyysosdyyyyyyyyyyyyyyyyyyydMMMMysyyyo    WM Theme: Breeze
-yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy-    Theme: Breeze (Light) [Qt], Yaru [GTK3]
 oyyyyyydMMMysyyyyyyyyyyysdMMyoyyyoyyyo     Icons: breeze [Qt], breeze [GTK2/3/4]
 `oyyyydMMMysyyyoooooodMMMMyoyyyyyyyyo      Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
   oyyysyyoyyyysdMMMMMMMMMMMyyyyyyyyo       Cursor: breeze (24px)
    -syyyyyyyyydMMMysyyydMMMysyyyys-        Terminal: tmux 3.5a
      -oyyyyyyydMMyyyyyyysosyyyyo-          CPU: Intel(R) Core(TM) i7-10610U (8) @ 4.90 GHz
        ./oyyyyyyyyyyyyyyyyyyo/.            GPU 1: NVIDIA GeForce MX330 [Discrete]
           `.:/oosyyyysso/:.`               GPU 2: Intel UHD Graphics @ 1.15 GHz [Integrated]
                                            Memory: 10.57 GiB / 30.98 GiB (34%)
                                            Swap: Disabled
                                            Disk (/): 334.51 GiB / 928.65 GiB (36%) - overlay
                                            Disk (/nix): 334.51 GiB / 928.65 GiB (36%) - ext4
                                            Disk (/run/host/boot): 109.85 MiB / 510.98 MiB (21%) - vfat
                                            Battery (5B10W13906): 97% [AC Connected]
                                            Locale: en_DK.UTF-8
❯ python -V
Python 3.12.8


`

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions