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

Update plette to version 2.1.0 #6174

Merged
merged 1 commit into from
Jun 8, 2024
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
2 changes: 1 addition & 1 deletion pipenv/vendor/plette/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Lockfile", "Pipfile",
]

__version__ = '2.0.2'
__version__ = '2.1.0'

from .lockfiles import Lockfile
from .pipfiles import Pipfile
4 changes: 2 additions & 2 deletions pipenv/vendor/plette/models/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Script(DataModel):
This always works in POSIX mode, even on Windows.
"""
__OPTIONAL__ = {
"script": (str,list)
"script": (str, list, dict)
}

def __init__(self, data):
Expand All @@ -25,7 +25,7 @@ def validate(cls, data):
raise DataValidationError("Script cannot be empty")
for k, types in cls.__OPTIONAL__.items():
if not isinstance(data, types):
raise DataValidationError(f"Invalid type for field {t}: {type(data[t])}")
raise DataValidationError(f"Invalid type for {k}: {type(data)}")
def __repr__(self):
return "Script({0!r})".format(self._parts)

Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/vendor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packaging==24.0
pexpect==4.9.0
pipdeptree==2.18.1
zipp==3.18.1
plette==2.0.2
plette==2.1.0
ptyprocess==0.7.0
python-dotenv==1.0.1
pythonfinder==2.1.0
Expand Down
Loading