Skip to content

2023-07-03 Python requirements files + Bookworm - master branch #723

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

Merged

Conversation

Paraphraser
Copy link

The underlying cause of the problem reported in #660 is the Python requirements files containing pins for (almost) every line item.

I appreciate that pinning is what happens by default when requirements files are generated but some of the pinned versions which might have been appropriate for Bullseye when the files were generated will not actually install on Bookworm.

This Pull Request removes pins from every line item in each requirements file. In other words, the defaults will become the latest and greatest for each system (Buster or Bullseye or Bookworm).

I have tested this on Bullseye and Bookworm (but not Buster), and only to the extent of confirming that each listed package gets installed and the menu doesn't chuck up any complaints. The test systems were built with PiBuilder.

IF we encounter a problem which needs to be solved by pinning a package to a specific version, we will have to sort out how to do that across OS releases.

Fixes: #660

The underlying cause of the problem reported in SensorsIot#660 is the Python
requirements files containing pins for (almost) every line item.

I appreciate that pinning is what happens by default when requirements
files are generated but some of the pinned versions which might have
been appropriate for Bullseye when the files were generated will not
actually install on Bookworm.

This Pull Request removes pins from every line item in each requirements
file. In other words, the defaults will become the latest and greatest
for each system (Buster or Bullseye or Bookworm).

I have tested this on Bullseye and Bookworm (but not Buster), and only
to the extent of confirming that each listed package gets installed
and the menu doesn't chuck up any complaints. The test systems were
built with [PiBuilder](https://github.com/Paraphraser/PiBuilder).

**IF** we encounter a problem which needs to be solved by pinning a
package to a specific version, we will have to sort out how to do that
across OS releases.

Fixes: SensorsIot#660

Signed-off-by: Phill Kelley <[email protected]>
@Slyke Slyke merged commit 790e837 into SensorsIot:master Sep 23, 2023
@Paraphraser Paraphraser deleted the 20230703-python-requirements-master branch September 23, 2023 12:22
Paraphraser added a commit to Paraphraser/PiBuilder that referenced this pull request Oct 6, 2023
[PR 723](SensorsIot/IOTstack#723) removed pins
from Python requirements files so the PiBuilder "fix" to do that using
`sed` is no longer required. Removed.

Signed-off-by: Phill Kelley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No module named 'blessed'
2 participants