-
-
Notifications
You must be signed in to change notification settings - Fork 30
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 pyyaml for docs #517
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Qalthos
added
dependencies
Pull requests that update a dependency file
bot:chronographer:skip
This PR does not need to include a change note
labels
Jul 19, 2023
webknjaz
reviewed
Jul 25, 2023
webknjaz
reviewed
Jul 25, 2023
webknjaz
reviewed
Jul 25, 2023
webknjaz
reviewed
Jul 25, 2023
Packit is failing with an unrelated problem: 2023-07-26 13:54:34.791 utils.py ERROR Preparation of the repository for creation of an SRPM failed: line 239: Too many names: %files -n python3-ansible-pylibssh -f\\ %{pyproject_files}
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/specfile/spec_parser.py", line 206, in get_rpm_spec
return rpm.spec(tmp.name, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: can't parse specfile
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/packit/api.py", line 1314, in prepare_sources
self.up.prepare_upstream_for_srpm_creation(
File "/usr/lib/python3.11/site-packages/packit/upstream.py", line 545, in prepare_upstream_for_srpm_creation
SRPMBuilder(upstream=self, ref=upstream_ref).prepare(
File "/usr/lib/python3.11/site-packages/packit/upstream.py", line 1071, in prepare
self._fix_specfile_to_use_local_archive(
File "/usr/lib/python3.11/site-packages/packit/upstream.py", line 1046, in _fix_specfile_to_use_local_archive
new_release = self.upstream.get_spec_release(release_suffix)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/packit/upstream.py", line 398, in get_spec_release
original_release_number = self.specfile.expanded_release.split(".", 1)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/specfile/specfile.py", line 634, in expanded_release
return self.expand(self.release, extra_macros=[("dist", "")])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/specfile/specfile.py", line 187, in expand
self._parser.parse(str(self), extra_macros)
File "/usr/lib/python3.11/site-packages/specfile/spec_parser.py", line 360, in parse
self.spec, self.tainted = self._do_parse(content, extra_macros)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/specfile/spec_parser.py", line 274, in _do_parse
spec = get_rpm_spec(content, rpm.RPMSPEC_ANYARCH | rpm.RPMSPEC_FORCE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/specfile/spec_parser.py", line 208, in get_rpm_spec
raise RPMException(stderr=stderr) from e
specfile.exceptions.RPMException: line 239: Too many names: %files -n python3-ansible-pylibssh -f\\ %{pyproject_files}
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/packit/cli/utils.py", line 50, in covered_func
func(config=config, *args, **kwargs)
File "/usr/lib/python3.11/site-packages/packit/cli/utils.py", line 149, in covered_func
func(*args, **decorated_func_kwargs)
File "/usr/lib/python3.11/site-packages/packit/cli/prepare_sources.py", line 185, in prepare_sources
api.prepare_sources(
File "/usr/lib/python3.11/site-packages/packit/api.py", line 1321, in prepare_sources
raise PackitSRPMException(
packit.exceptions.PackitSRPMException: Preparation of the repository for creation of an SRPM failed: line 239: Too many names: %files -n python3-ansible-pylibssh -f\\ %{pyproject_files}
2023-07-26 13:54:34.793 local_project.py DEBUG Cleaning: /tmp/tmpq6lmj3z7
2023-07-26 13:54:34.817 local_project.py DEBUG Cleaning: /tmp/tmpq6lmj3z7
Finish: chroot ['su - mockbuild -c \'set -xe ; cd /workdir ; COPR_OWNER=packit COPR_PROJECT=ansible-pylibssh-517 COPR_PACKAGE=\'"\'"\'\'"\'"\' COPR_RESULTDIR=/workdir /script\'']
Traceback (most recent call last):
File "/usr/bin/copr-sources-custom", line 115, in <module>
run_cmd(mock + ['--chroot', 'su - {0} -c {1}'.format(user, cmd)])
File "/usr/bin/copr-sources-custom", line 64, in run_cmd
return subprocess.check_call(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['mock', '-r', '/var/lib/copr-rpmbuild/results/mock-config.cfg', '--chroot', 'su - mockbuild -c \'set -xe ; cd /workdir ; COPR_OWNER=packit COPR_PROJECT=ansible-pylibssh-517 COPR_PACKAGE=\'"\'"\'\'"\'"\' COPR_RESULTDIR=/workdir /script\'']' returned non-zero exit status 2.
Copr build error: Build failed |
webknjaz
approved these changes
Jul 26, 2023
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bot:chronographer:skip
This PR does not need to include a change note
dependencies
Pull requests that update a dependency file
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Hopefully this will work around the docs build issue.
ISSUE TYPE