Skip to content

Commit

Permalink
remove unintended re-exports to reduce requirements (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam authored Nov 7, 2024
1 parent 311509d commit 431162b
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion stubs/sklearn/manifold/_spectral_embedding.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ from typing import Any, Callable, ClassVar, Literal, TypeVar

from numpy import ndarray
from numpy.random import RandomState
from pyamg import smoothed_aggregation_solver as smoothed_aggregation_solver
from scipy import sparse as sparse
from scipy.linalg import eigh as eigh
from scipy.sparse._coo import coo_matrix
Expand Down
1 change: 0 additions & 1 deletion stubs/sklearn/utils/_testing.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ from numpy.testing import (
assert_array_equal,
assert_array_less,
)
from numpydoc import docscrape as docscrape

from .._typing import ArrayLike, Float, Int, MatrixLike
from ..metrics import accuracy_score as accuracy_score, r2_score as r2_score
Expand Down
3 changes: 0 additions & 3 deletions stubs/vispy/gloo/gl/_pyopengl2.pyi
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import ctypes

import OpenGL.GL.framebufferobjects as FBO
from OpenGL import GL

def glBindAttribLocation(program, index, name): ...
def glBufferData(target, data, usage): ...
def glBufferSubData(target, offset, data): ...
Expand Down
2 changes: 0 additions & 2 deletions stubs/vispy/gloo/gl/glplus.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Copyright (c) Vispy Development Team. All Rights Reserved.
# Distributed under the (new) BSD License. See LICENSE.txt for more info.

from OpenGL import GL as _GL

from . import _constants, _pyopengl2

def _inject(): ...
Expand Down
3 changes: 0 additions & 3 deletions stubs/vispy/gloo/gl/pyopengl2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
# Copyright (c) Vispy Development Team. All Rights Reserved.
# Distributed under the (new) BSD License. See LICENSE.txt for more info.

import OpenGL.GL.framebufferobjects as _FBO
from OpenGL import GL as _GL

from ...util import logger
from . import _copy_gl_functions
from ._constants import * # noqa
Expand Down
3 changes: 1 addition & 2 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ typing_extensions
# Untyped libraries, used to prevent "reportMissingImports" and get inferred typing
joblib
networkx
numpydoc
pyamg
PyOpenGL
scikit-learn
sympy
traitlets
transformers
transformers

0 comments on commit 431162b

Please sign in to comment.