Bug 2137514 - pytest-7.2.0 is available
Summary: pytest-7.2.0 is available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pytest
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2136453 2142035 2142036 2142037 2142038 2142039 2142040 2142041 2142042 2142043 2142044 2142045 2142046 2142047 2142048 2142051 2142052 2142053 2142054 2142055 2142056 2142057 2142058 2142059 2142060 2142061 2142062 2142063 2142064 2142065 2142066 2142067 2142070 2142220
Blocks: 2138752 2138912 2140434
TreeView+ depends on / blocked
 
Reported: 2022-10-25 10:02 UTC by Upstream Release Monitoring
Modified: 2022-11-30 13:55 UTC (History)
5 users (show)

Fixed In Version: pytest-7.2.0-1.fc38
Clone Of:
Environment:
Last Closed: 2022-11-30 13:55:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Upstream Release Monitoring 2022-10-25 10:02:43 UTC
Releases retrieved: 7.2.0
Upstream release that is considered latest: 7.2.0
Current version/release in rawhide: 7.1.3-1.fc38
URL: https://pypi.python.org/pypi/pytest

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/3765/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/pytest

Comment 1 Upstream Release Monitoring 2022-10-25 10:02:47 UTC
Scratch build failed. Details below:

DownloadException: The specfile contains a Source URL with an unknown protocol; it shouldbe "https", "http", or "ftp".
Traceback:
  File "/usr/local/lib/python3.10/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
  File "/usr/local/lib/python3.10/site-packages/hotness/builders/koji.py", line 164, in build
    new_sources = self._spec_sources(specfile, tmp)
  File "/usr/local/lib/python3.10/site-packages/hotness/builders/koji.py", line 337, in _spec_sources
    raise DownloadException(msg)

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 2 Lumír Balhar 2022-11-01 09:25:21 UTC
The latest pytest vendors some parts of the py library. It's also possible to install it and skip the vendored version but that's a decision for the maintainer. See https://github.com/pytest-dev/pytest/commit/19dda7c9bdc8ef71c792e0f77a9595bfad8d9248

Comment 3 Miro Hrončok 2022-11-01 10:19:32 UTC
I'd keep them vendored. Upstream wants to move the code from py to pytest and get rid of py. That's a decision we should respect (and possibly deprecate py in Fedora).

Comment 5 Thomas Moschny 2022-11-11 20:25:37 UTC
(In reply to Miro Hrončok from comment #3)
> I'd keep them vendored. Upstream wants to move the code from py to pytest
> and get rid of py. That's a decision we should respect (and possibly
> deprecate py in Fedora).

Just a side note: py might be deprecated, but it's to early for retirement. The pytest changelog says:

> [...] If you need other py.* modules, continue to install the deprecated py library separately, otherwise it can usually be removed as a dependency.

Comment 6 Lumír Balhar 2022-11-21 08:16:34 UTC
(In reply to Thomas Moschny from comment #5)
> Just a side note: py might be deprecated, but it's to early for retirement.
> The pytest changelog says:

Sure thing. Some other important packages (like tox) depend on py directly so there is no plan to retire it in the foreseeable future.

Comment 7 Lumír Balhar 2022-11-21 08:18:32 UTC
All packages where this update causes trouble have bugzilla, PR, or both. An e-mail has been sent to devel ML. My plan is to ship this next week.

Comment 8 Fedora Update System 2022-11-30 13:53:43 UTC
FEDORA-2022-27ea8cb03e has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-27ea8cb03e

Comment 9 Fedora Update System 2022-11-30 13:55:20 UTC
FEDORA-2022-27ea8cb03e has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.