Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unintended re-exports to reduce requirements #327

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading