From Fedora Project Wiki
(Change proposal)
 
(Add trackers)
 
(5 intermediate revisions by 3 users not shown)
Line 25: Line 25:
 
Note that motivation for the change should be in the Benefit to Fedora section below, and this part should answer the question "What?" rather than "Why?". -->
 
Note that motivation for the change should be in the Benefit to Fedora section below, and this part should answer the question "What?" rather than "Why?". -->
  
The {{package|python-nose}} ({{package|python3-nose}}) package will be [https://docs.fedoraproject.org/en-US/packaging-guidelines/deprecating-packages/ deprecated] without replacement in [[Releases/32|Fedora 32]]. Nose is dead upstream, but far to many packages still BuildRequire it, so we cannot remove it yet.
+
The {{package|python-nose}} ({{package|python3-nose}}) package will be [https://docs.fedoraproject.org/en-US/packaging-guidelines/deprecating-packages/ deprecated] in [[Releases/32|Fedora 32]]. Nose is dead upstream, but far too many packages still BuildRequire it, so we cannot remove it yet. Packagers are encouraged to switch to {{package|python3-pytest}} or {{package|python3-nose2}}, but {{package|python3-nose}} remains available for the time being.
  
 
== Owner ==
 
== Owner ==
Line 53: Line 53:
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
-->
 
-->
* Tracker bug: <will be assigned by the Wrangler>
+
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1797603 #1797603]
* Release notes tracker: <will be assigned by the Wrangler>
+
* Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/442 #442]
  
 
== Detailed Description ==
 
== Detailed Description ==
Line 67: Line 67:
  
 
We'd like to drop it from Fedora, but 27 packages require it on runtime and 323 on build time (only direct (Build)Requires were counted, on 2020-01-13). Before we attempt to make the number smaller, we need to stop new packages to (Build)Require {{package|python3-nose}}, hence we want to have it [https://docs.fedoraproject.org/en-US/packaging-guidelines/deprecating-packages/ deprecated].
 
We'd like to drop it from Fedora, but 27 packages require it on runtime and 323 on build time (only direct (Build)Requires were counted, on 2020-01-13). Before we attempt to make the number smaller, we need to stop new packages to (Build)Require {{package|python3-nose}}, hence we want to have it [https://docs.fedoraproject.org/en-US/packaging-guidelines/deprecating-packages/ deprecated].
 +
 +
Packagers are encouraged to switch to {{package|python3-pytest}} or {{package|python3-nose2}}, but {{package|python3-nose}} remains available for the time being without a known removal date. Future removal is possible, but not part of this proposal.
  
 
== Benefit to Fedora ==
 
== Benefit to Fedora ==
Line 189: Line 191:
 
-->
 
-->
  
[[Category:ChangeReadyForWrangler]]
+
[[Category:ChangeAcceptedF32]]
 
<!-- When your change proposal page is completed and ready for review and announcement -->
 
<!-- When your change proposal page is completed and ready for review and announcement -->
 
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
 
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->

Latest revision as of 13:55, 3 February 2020


Deprecate python-nose

Summary

The Package-x-generic-16.pngpython-nose (Package-x-generic-16.pngpython3-nose) package will be deprecated in Fedora 32. Nose is dead upstream, but far too many packages still BuildRequire it, so we cannot remove it yet. Packagers are encouraged to switch to Package-x-generic-16.pngpython3-pytest or Package-x-generic-16.pngpython3-nose2, but Package-x-generic-16.pngpython3-nose remains available for the time being.

Owner

Current status

Detailed Description

The Package-x-generic-16.pngpython-nose package regularly requires downstream only patches to support new Python versions.

Upstream is long dead and has a notice on the website that says:

> Nose has been in maintenance mode for the past several years and will likely cease without a new person/team to take over maintainership. New projects should consider using Nose2, py.test, or just plain unittest/unittest2.

We'd like to drop it from Fedora, but 27 packages require it on runtime and 323 on build time (only direct (Build)Requires were counted, on 2020-01-13). Before we attempt to make the number smaller, we need to stop new packages to (Build)Require Package-x-generic-16.pngpython3-nose, hence we want to have it deprecated.

Packagers are encouraged to switch to Package-x-generic-16.pngpython3-pytest or Package-x-generic-16.pngpython3-nose2, but Package-x-generic-16.pngpython3-nose remains available for the time being without a known removal date. Future removal is possible, but not part of this proposal.

Benefit to Fedora

No new packages will depend on a dead test runner. Eventually, bootstrapping new Python versions in Fedora won't be blocked on another downstream only patch for nose.

Scope

  • Proposal owners: Deprecate Package-x-generic-16.pngpython3-nose. Help package maintainers convert to other test runners when asked.
  • Other developers: Nothing required (not a System Wide Change). Optionally, drop the dependency on nose from existing packages.
  • Release engineering: N/A (not a System Wide Change)
  • Policies and guidelines: N/A (not a System Wide Change)
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

The package will remain available. Only new packages cannot depend on it.

How To Test

$ repoquery --repo=rawhide --provides python3-nose
...
deprecated()
...

User Experience

No changes.

Dependencies

N/A (not a System Wide Change)

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No
  • Blocks product? N/A

Documentation

N/A (not a System Wide Change)

Release Notes