On Tue, Jul 5, 2022 at 4:33 PM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
On 05. 07. 22 16:22, Kaleb Keithley wrote:
> On Tue, Jul 5, 2022 at 9:45 AM Miro Hrončok <mhroncok@xxxxxxxxxx
> <mailto:mhroncok@xxxxxxxxxx>> wrote:
>
> On 05. 07. 22 15:20, Kaleb Keithley wrote:
> >
> >
> > On Tue, Jul 5, 2022 at 9:07 AM Richard W.M. Jones <rjones@xxxxxxxxxx
> <mailto:rjones@xxxxxxxxxx>
> > <mailto:rjones@xxxxxxxxxx <mailto:rjones@xxxxxxxxxx>>> wrote:
> >
> > On Tue, Jul 05, 2022 at 01:17:39PM +0200, Miro Hrončok wrote:
> > > Hello,
> > > forwarding this message to Fedora.
> > >
> > > Will know more by the end of this week -- we might need to consider
> > > reverting back to Python 3.10 if we don't want to ship Fedora 37 GA
> > > with a beta version of Python :(
> >
> > Is there a reason why shipping a beta version of Python would be bad?
> > I've been using it on my main development machine for a few weeks and
> > for the (fairly limited) Python stuff I do it seems to be fine.
> >
> > It'd be a problem if it was causing bugs.
> >
> >
> > It broke the cephfs-shell subpackage. (Currently disabled as a temporary
> > work-around.)
>
> Could you please share some link?
>
>
> https://koji.fedoraproject.org/koji/taskinfo?taskID=88847352
> <https://koji.fedoraproject.org/koji/taskinfo?taskID=88847352>
"""
error: Multiple top-level packages discovered in a flat-layout: ['top',
'CMakeFiles'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs.
"""
This is a setuptools 61+ thing, not Python 3.11.
You might find some context in
https://setuptools.pypa.io/en/latest/history.html#id105
https://github.com/pypa/setuptools/issues/3197
https://bugzilla.redhat.com/showdependencytree.cgi?id=2064842&hide_resolved=0
No idea why ceph was not reported as impacted, the folks have reported *many*
other failures.
I am afraid we have not yet seen the end of breaking changes in setuptools :/
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
This is due to an oversight by me during the impact check of the latest setuptools, as COPR default timeout is 5 hours and ceph requires more than that, hence I skipped it, apologies for that.
You can add a py_modules = [] in setup.py to fix it usually.
The issue and the possible fix is described here: https://github.com/pypa/setuptools/issues/3197#issuecomment-1078770109
--
Regards,
Charalampos Stratakis
Senior Software Engineer
Python Maintenance Team, Red Hat
Charalampos Stratakis
Senior Software Engineer
Python Maintenance Team, Red Hat
_______________________________________________ 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