question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

2 test failures on Debian stable (stretch) amd64

See original GitHub issue

Sorry no show_versions output (yet to add to debian/rules, numpy 1.12.1), and I just wanted to possibly seek ideas/clues before digging deeper or skipping those tests - everything seems to be ok on more recentish systems:

1

____________________________ test_lars_cv_max_iter _____________________________

    @pytest.mark.filterwarnings('ignore::FutureWarning')
    def test_lars_cv_max_iter():
        with warnings.catch_warnings(record=True) as w:
            X = diabetes.data
            y = diabetes.target
            rng = np.random.RandomState(42)
            x = rng.randn(len(y))
            X = np.c_[X, x, x]  # add correlated features
            lars_cv = linear_model.LassoLarsCV(max_iter=5)
            lars_cv.fit(X, y)
>       assert_true(len(w) == 0)

re assert_true submitted #12547 - but anything sounds familiar?

2

__________________________ test_docstring_parameters ___________________________

    @pytest.mark.filterwarnings('ignore::DeprecationWarning')
    @pytest.mark.skipif(IS_PYPY, reason='test segfaults on PyPy') 
    def test_docstring_parameters(): 
        # Test module docstring formatting
...
        msg = '\n' + '\n'.join(sorted(list(set(incorrect))))
        if len(incorrect) > 0:
>           raise AssertionError("Docstring Error: " + msg)
E           AssertionError: Docstring Error:
E           sklearn.utils.fixes.divide arg mismatch: ['dtype', 'out', 'x1', 'x2']

sklearn/tests/test_docstring_parameters.py:125: AssertionError

so this one is particularly mysterious 😉

show_versions()
ATLAS version 3.10.3 built by buildd on Tue Jan 17 22:59:14 UTC 2017:
   UNAME    : Linux x86-ubc-01 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux
   INSTFLG  : -1 0 -a 1 -l 1
   ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_x86SSE2 -DATL_CPUMHZ=2297 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664
   F2CDEFS  : -DAdd_ -DF77_INTEGER=int -DStringSunStyle
   CACHEEDGE: 1048576
   F77      : /usr/bin/x86_64-linux-gnu-gfortran, version GNU Fortran (Debian 6.3.0-2) 6.3.0 20161229
   F77FLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64
   SMC      : /usr/bin/gcc-6, version gcc-6 (Debian 6.3.0-2) 6.3.0 20161229
   SMCFLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64
   SKC      : /usr/bin/gcc-6, version gcc-6 (Debian 6.3.0-2) 6.3.0 20161229
   SKCFLAGS : -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64

System
------
    python: 2.7.13 (default, Nov 24 2017, 17:33:09)  [GCC 6.3.0 20170516]
   machine: Linux-4.16.0-0.bpo.2-amd64-x86_64-with-debian-9.5
executable: /usr/bin/python2.7

BLAS
----
    macros: HAVE_CBLAS=None, ATLAS_INFO="\"3.10.3\""
cblas_libs: f77blas, cblas, atlas, f77blas, cblas
  lib_dirs: /usr/lib/atlas-base

Python deps
-----------
    Cython: None
     scipy: 0.18.1
setuptools: 33.1.1
       pip: None
     numpy: 1.12.1
    pandas: 0.22.0
   sklearn: 0.20.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
jnothmancommented, Nov 20, 2018

Sounds good.

0reactions
jnothmancommented, Mar 31, 2020

I’m happy to close and have more focused issues when necessary, thanks @cmarmo

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 5. Issues to be aware of for stretch - Debian
This means that for stretch all systems where /usr is a separate partition need to use an initramfs generator that will mount /usr...
Read more >
Debian “stretch” Installation Information
To install Debian 9.13 (stretch), download any of the following images (all i386 and amd64 CD/DVD images can be used on USB sticks...
Read more >
DebianTesting - Debian Wiki
Packages from Debian Unstable enter the next-stable testing distribution automatically, when a list of requirements is fulfilled: The package ...
Read more >
Debootstrap Error Couldn't retrieve dists/stretch/main/binary ...
Package: debootstrap-udeb 1.0.89 Version: 1.0.89 I am trying to install Debian Stretch from snapshot.debian.org e.g. with this preseed ...
Read more >
NvidiaGraphicsDrivers - Debian Wiki
Build failures; Driver stops working after upgrading Debian ... 2. Particularly if you're on Debian Testing or Debian Unstable, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found