question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken safety in release 2022.11.23

See original GitHub issue

Issue description

Bundled safety is missing VERSION file: https://github.com/pypa/pipenv/actions/runs/3532314366/jobs/5926514290#step:8:725 https://github.com/pypa/pipenv/blob/v2022.11.23/pipenv/patched/safety/__init__.py

Expected result

pipenv check works without errors

Actual result

% pipenv --version
pipenv, version 2022.11.23

% pipenv check
Traceback (most recent call last):
  File "/xxx/bin/pipenv", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/xxx/lib/python3.11/site-packages/pipenv/vendor/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/xxx/lib/python3.11/site-packages/pipenv/cli/options.py", line 57, in main
    return super().main(*args, **kwargs, windows_expand_args=False)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/xxx/lib/python3.11/site-packages/pipenv/vendor/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/xxx/lib/python3.11/site-packages/pipenv/vendor/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/xxx/lib/python3.11/site-packages/pipenv/vendor/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/xxx/lib/python3.11/site-packages/pipenv/vendor/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/xxx/lib/python3.11/site-packages/pipenv/vendor/click/decorators.py", line 84, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/xxx/lib/python3.11/site-packages/pipenv/vendor/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/xxx/lib/python3.11/site-packages/pipenv/cli/command.py", line 510, in check
    do_check(
  File "/xxx/lib/python3.11/site-packages/pipenv/core.py", line 2985, in do_check
    from pipenv.patched.safety.cli import cli
  File "/xxx/lib/python3.11/site-packages/pipenv/patched/safety/__init__.py", line 10, in <module>
    with open(os.path.join(ROOT, 'VERSION')) as version_file:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/xxx/lib/python3.11/site-packages/pipenv/patched/safety/VERSION'

Steps to replicate

Install and run check command

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:6
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
matteiuscommented, Nov 23, 2022

This is fixed in main, expect a follow-up release 2022.11.24 within the next day (unless this Covid booster I got this AM knocks me out), but soon.

1reaction
matteiuscommented, Nov 24, 2022

Ok sorry about that – there was still an issue with the wheel not including the rumael vendoring. I just verified that new release 2022.11.25 does in fact include the required ruamel.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release and Version History — pipenv 2022.12.20.dev0 ...
Vendor in pip==22.3.1 which is currently the latest version of pip . ... Solving issue where pipenv check command has been broken in...
Read more >
Safety Agency Says Wing Broke Before Plane Crash in ...
A wing from a Cessna 208B broke away before the plane crashed Friday into a field northeast of Seattle, killing the four people...
Read more >
Android Auto bugs, issues & problems tracker - PiunikaWeb
A detailed and up-to-date round-up of known or reported bugs, issues, & problems on Android Auto as well as their current status.
Read more >
2022-0096R1 : Aircraft Flight Manual / Section Limitations
Issue date, 2022-11-23. Effective date, 2022-11-30. EASA approval number. Contributor, EASA Large Aeroplanes Department. ATA Chapter, 22.
Read more >
Wednesday, November 23, 2022 | Kaiser Health News
Today's roundup covers ACA enrollment, Fauci's farewell, covid boosters, MPOX, flu/RSV "twindemic," and more. Plus, holiday weekend reads.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found