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 Poetry build system & normalise on Python 3.11 #2703 #2754 #2693 #2755

Merged

Conversation

phillxnet
Copy link
Member

@phillxnet phillxnet commented Nov 23, 2023

Uninstall prior Poetry 1.1.15, if found, using official installer script, and install 1.7.1 using Python 3.11 and OS pipx package: build.sh.

Thanks to @FroggyFlox for assisting with development.

Includes:

  • New Poetry install location: /root/.local/bin to /usr/local/bin
  • Update rockstor.service & rockstor-pre.service Poetry path.
  • Python 3.9 to Python 3.11 in pyproject.toml.
  • Refreshed poetry.lock created using Poetry 1.7.1.
  • Incidental update of setuptools (68.2.2 -> 69.0.2).
  • Incidental clarification re developer instructions in build.sh.
  • .gitignore addition re poetry-installer-error logs.

Fixes #2703
Fixes #2754
Fixes #2693 see testing comment below(#2755 (comment))

See also partner:
Issue re rpmbuild: rockstor/rockstor-rpmbuild#50
PR re rpmbuild: rockstor/rockstor-rpmbuild#52

Uninstall prior Poetry 1.1.15, if found, using official
installer script, and install 1.7.1 using Python 3.11 and
OS pipx package: `build.sh`.
## Includes:
- New Poetry install location:
 `/root/.local/bin` to `/usr/local/bin`
- Update rockstor.service & rockstor-pre.service Poetry path.
- Python 3.9 to Python 3.11 in pyproject.toml.
- Refreshed poetry.lock created using Poetry 1.7.1.
- Incidental update of setuptools (68.2.2 -> 69.0.2).
- Incidental clarification re developer instructions in build.sh.
- .gitignore addition re poetry-installer-error logs.
@phillxnet
Copy link
Member Author

phillxnet commented Nov 24, 2023

Testing

See linked rockstor-rpmbuild partner PR (rockstor/rockstor-rpmbuild#52) for the majority of the testing info: given these changes are to be assessed in sync with those in our rpmbuild spec file changes.

RPMs were build, and installed successfully on the build hosts, for all target OS variations (Leap 15.4/15.5 & TW) & architectures (amd64 & aarch64).

@phillxnet phillxnet changed the title Update Poetry build system & normalise on Python 3.11 #2703 #2754 Update Poetry build system & normalise on Python 3.11 #2703 #2754 #2693 Nov 24, 2023
@phillxnet
Copy link
Member Author

@FroggyFlox & @Hooverdan96 Merging as-is as we clear up three outstanding issues, with a hefty technical dept assistance; and we have clear-cut positive test results re the indicated issues.

Plus these multi repo partnered issues are a little cumbersome to have hanging open.

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.

1 participant