mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Remove vistir.compat.ResourceWarning
Built-in since Python3.
This commit is contained in:
+1
-1
@@ -1950,7 +1950,7 @@ def do_install(
|
||||
requirements_directory = vistir.path.create_tracked_tempdir(
|
||||
suffix="-requirements", prefix="pipenv-"
|
||||
)
|
||||
warnings.filterwarnings("default", category=vistir.compat.ResourceWarning)
|
||||
warnings.filterwarnings("default", category=ResourceWarning)
|
||||
if selective_upgrade:
|
||||
keep_outdated = True
|
||||
packages = packages if packages else []
|
||||
|
||||
@@ -12,7 +12,6 @@ from functools import lru_cache
|
||||
from pathlib import Path
|
||||
|
||||
from pipenv import environments
|
||||
from pipenv.vendor.vistir.compat import ResourceWarning
|
||||
|
||||
from .constants import SCHEME_LIST
|
||||
from .processes import subprocess_run
|
||||
|
||||
Reference in New Issue
Block a user