Re: Adjusting python-django to latest Python Packaging Guidelines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 15, 2021 at 12:49:51PM -0800, Michel Alexandre Salim wrote:
> On Tue, Dec 14, 2021 at 02:29:58PM -0800, Michel Alexandre Salim wrote:
> > Hi all,
> > 
> > Neal Gompa and I have been reviving the effort to get our mailing list
> > server infrastructure (currently running on RHEL 7 with missing packages
> > provided in an unofficial repo) hostable on RHEL 9 + EPEL.
> > 
> > Pagure issue: https://pagure.io/fedora-infrastructure/issue/8455
> > Bugzilla tracker: https://bugzilla.redhat.com/show_bug.cgi?id=2030061
> > Status: https://hackmd.io/Pb9otlVGQHe1r9BIC5bi7w (not fully updated yet)
> > 
> 
> Any objection if I modernize python-django's spec file so we get
> automatic BRs? I accidentally branched python-mock for EPEL9 because
> Django BR-ed it, before realizing that it's an out of date BR and the
> unit tests all use `from unittest import mock` already
> 
> ref: https://fedoraproject.org/wiki/Changes/DeprecatePythonMock
> 
> python-django without python-mock built for Rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=1867385
> 

PR: https://src.fedoraproject.org/rpms/python-django/pull-request/20

This now adheres closely to the Python Packaging Guidelines
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/

- automatic BRs
- Consistently use pyproject macros

As a bonus, it's so much cleaner and we track the directories for
localization files better. Provides and Requires are sane (I provided
details in the PR comments)

I'll leave this open for a couple of days and then merge it if there's
no objection.

Thanks,

-- 
Michel Alexandre Salim
profile: https://keyoxide.org/michel@xxxxxxxxxxxxxxx

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux