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

Add package python-parallel-ssh #3312

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Sumynwa
Copy link
Contributor

@Sumynwa Sumynwa commented Jul 6, 2022

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

Add parallel-ssh to meet runtime dependency for package cassandra-medusa

Change Log
  • initial import from fedora 35
  • add as runtime dependency for cassandra-medusa
  • lint spec
Does this affect the toolchain?

NO

Associated issues
  • #xxxx
Links to CVEs
Test Methodology
  • Local Build.

@Sumynwa Sumynwa requested a review from a team as a code owner July 6, 2022 17:03
@ghost ghost added the main PR Destined for main label Jul 6, 2022
Copy link
Contributor

@oliviacrain oliviacrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also note in the description that this PR is dependent on other PRs being merged, so it doesn't get merged prematurely.

Comment on lines 28 to 33
%package -n python3-%{srcname}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-Cython
%{?python_provide:%python_provide python3-%{srcname}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fedora's Python packages use automatic dependency generators, which we don't have. Please add runtime requirements for python3 and the other packages required by this package.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


%description -n python3-%{srcname} %{_description}

Python 3 version.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is redundant- we only ship the python3 version of this package.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

%global srcname parallel-ssh

Name: python-%{srcname}
Version: 1.9.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a fairly old version. Can we upgrade to a newer version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumped version to 2.10.0


%changelog
* Wed Jun 22 2022 Sumedh Sharma <[email protected]> - 1.9.1-10
- Initial CBL-Mariner import from fedora 35(License: LGPLv2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should have the license of the spec file, not the license of the package.

Suggested change
- Initial CBL-Mariner import from fedora 35(License: LGPLv2)
- Initial CBL-Mariner import from Fedora 35 (License: MIT)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Sumynwa and others added 4 commits July 26, 2022 16:35
(a) Initial import from fedora 35.
(b) Adding as run dependency for cassandra medusa.
(c) License Verified.
(b) List runtime dependencies instead of incorrectly using fedora dependency generator.
(c) Fix 'check' section.
(d) SPEC cleanup.
@Sumynwa Sumynwa force-pushed the python-parallel-ssh branch from 38ea82e to fd88064 Compare July 26, 2022 11:48
@Sumynwa Sumynwa changed the title Adding python-parallel-ssh Spec in CBL-Mariner Add package python-parallel-ssh Sep 15, 2022
@Sumynwa Sumynwa marked this pull request as draft May 22, 2023 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
main PR Destined for main
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants