sarugaku / plette

Structured Pipfile and Pipfile.lock models.
ISC License
7 stars 7 forks source link

NameError: name 't' is not defined #58

Closed reith closed 1 month ago

reith commented 1 month ago

https://github.com/sarugaku/plette/blob/8e2232780c2e50c7026dfec31e8db3f436b271ad/src/plette/models/scripts.py#L28

Not sure what the code should look like.. Pipenv 2024.0.0 release broke our builds throwing this name error.

oz123 commented 1 month ago

Can you please share your pipfile with us? The script section should be included.

reith commented 1 month ago

@oz123 here you go: https://github.com/reith/plette-58/blob/master/Pipfile

oz123 commented 1 month ago

Thanks for sharing your file.

oz123 commented 1 month ago

So, apparently this is a documented feature of pipenv (but not found in plette before as tests or docs).

https://pipenv.pypa.io/en/latest/scripts.html?highlight=scripts