Restore imports from vendor

This commit is contained in:
Oz Tiram
2023-05-07 06:45:11 +02:00
parent 7e35e7c365
commit 82cd6ba342
3 changed files with 3 additions and 8 deletions
+1 -4
View File
@@ -13,9 +13,6 @@ import urllib.parse
from json.decoder import JSONDecodeError
from pathlib import Path
import click
import tomlkit
try:
import tomllib as toml
except ImportError:
@@ -48,7 +45,7 @@ from pipenv.utils.shell import (
system_which,
)
from pipenv.utils.toml import cleanup_toml, convert_toml_outline_tables
from pipenv.vendor import plette
from pipenv.vendor import click, plette, tomlkit
from pipenv.vendor.requirementslib.models.utils import get_default_pyproject_backend
try:
+1 -3
View File
@@ -1,9 +1,7 @@
import os
import click
import dotenv
from pipenv import environments
from pipenv.vendor import click, dotenv
def load_dot_env(project, as_dict=False, quiet=False):
+1 -1
View File
@@ -3,7 +3,7 @@ try:
except ImportError:
import tomli as toml
import tomlkit
from pipenv.vendor import tomlkit
def cleanup_toml(tml):