Build python3 package

Bug #1258089 reported by Martin Pitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Fedora)
Fix Released
Undecided
systemd (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Drop python-systemd, we don't really need it. Build python3-systemd instead.

For this, b-dep on python3:any.

Revision history for this message
In , Zbigniew (zbigniew-redhat-bugs) wrote :

Created attachment 763480
patch to build also systemd-python3

Description of problem:
We have very nice Python 3 compatible modules in the systemd package, and they're not packaged for Fedora!

Attached patches enable the build with Python3.3 in addition to the one with Python2.7. New rpm systemd-python3 is created.

http://koji.fedoraproject.org/koji/taskinfo?taskID=5524116
http://koji.fedoraproject.org/koji/taskinfo?taskID=5524110

Revision history for this message
In , Zbigniew (zbigniew-redhat-bugs) wrote :

Created attachment 763481
fix for bug visible only in Python3 branch

Revision history for this message
In , Orion (orion-redhat-bugs) wrote :

I need this to try to build fail2ban with python3.

Revision history for this message
In , Zbigniew (zbigniew-redhat-bugs) wrote :

I will push the update with python3 today or tomorrow. Please wait a bit.

Revision history for this message
In , Zbigniew (zbigniew-redhat-bugs) wrote :
Revision history for this message
In , Zbigniew (zbigniew-redhat-bugs) wrote :
Revision history for this message
In , Orion (orion-redhat-bugs) wrote :

That seems to work nicely. Thanks.

Revision history for this message
In , David (david-redhat-bugs) wrote :

In the package git repository, you've added a changelog for 204-11 without actually bumping the release to 11.

Revision history for this message
In , Zbigniew (zbigniew-redhat-bugs) wrote :

(In reply to David Woodhouse from comment #7)
> In the package git repository, you've added a changelog for 204-11 without
> actually bumping the release to 11.
I didn't actually build the package (in non-scratch mode) either :)
The idea was to have something in the changelog, without actually
bumping the release number, so that we somebody does a release at some
point, with more significant changes, the release number will be bumped and the changelog will work as expected.

Does this generate problems? I'm not aware of any except a warning during build.

Anyway, 206-11 contains the python3 changes, so this bug can be closed. I'm not sure why bugzilla didn't pick this up automatically... Does it only look at the bugs referenced in the latest release in the changelog?

Revision history for this message
In , Orion (orion-redhat-bugs) wrote :

Bodhi will close bugs explicitly noted in the bug field. Otherwise there is no automatic connection between builds and bugzilla.

Revision history for this message
In , Zbigniew (zbigniew-redhat-bugs) wrote :

(In reply to Orion Poplawski from comment #9)
> Bodhi will close bugs explicitly noted in the bug field. Otherwise there is
> no automatic connection between builds and bugzilla.
I have the following in %changelog:

%changelog
...

* Sun Aug 11 2013 Zbigniew Jędrzejewski-Szmek <email address hidden> - 204-10
- New systemd-python3 package (#976427).

I thought that should suffice to have this bug closed...

Revision history for this message
In , Kay (kay-redhat-bugs) wrote :

It's the list of bugs manually entered here:
  https://admin.fedoraproject.org/updates/new/

Revision history for this message
In , Harald (harald-redhat-bugs) wrote :

(In reply to Zbigniew Jędrzejewski-Szmek from comment #10)
> (In reply to Orion Poplawski from comment #9)
> > Bodhi will close bugs explicitly noted in the bug field. Otherwise there is
> > no automatic connection between builds and bugzilla.
> I have the following in %changelog:
>
> %changelog
> ...
>
> * Sun Aug 11 2013 Zbigniew Jędrzejewski-Szmek <email address hidden> - 204-10
> - New systemd-python3 package (#976427).
>
> I thought that should suffice to have this bug closed...

sorry, seems like I forgot to add that bugzilla in bodhi

Revision history for this message
In , Zbigniew (zbigniew-redhat-bugs) wrote :

(In reply to Kay Sievers from comment #11)
> It's the list of bugs manually entered here:
> https://admin.fedoraproject.org/updates/new/
Ah, OK. That explains everything. OMG, couldn't this be extracted automatically from the changelog?

Revision history for this message
In , Harald (harald-redhat-bugs) wrote :

(In reply to Zbigniew Jędrzejewski-Szmek from comment #13)
> (In reply to Kay Sievers from comment #11)
> > It's the list of bugs manually entered here:
> > https://admin.fedoraproject.org/updates/new/
> Ah, OK. That explains everything. OMG, couldn't this be extracted
> automatically from the changelog?

yes, it could... and it would simplify things a lot :)

Martin Pitt (pitti)
Changed in systemd (Ubuntu):
status: New → Triaged
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Low
Revision history for this message
Martin Pitt (pitti) wrote :

Putting this on the backburner until I get my initial set of packaging changes into Debian, as adding a py3 package is going to be rather intrusive on the packaging. This should definitively go to Debian, too.

Changed in systemd (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
Revision history for this message
Martin Pitt (pitti) wrote :
Changed in systemd (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 208-7ubuntu4

---------------
systemd (208-7ubuntu4) utopic; urgency=medium

  * Lower Breaks: to lvm2 again. Our lvm2 package has always used udev for
    device setup, and thus should be compatible with systemd, too.
 -- Martin Pitt <email address hidden> Thu, 07 Aug 2014 07:11:28 +0200

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
Changed in systemd (Fedora):
importance: Unknown → Undecided
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.