Re: Introducing Python 3.5 nightly builds for Fedora

2014-08-07 Thread Nick Coghlan
On 07/30/2014 12:04 AM, Bohuslav Kabrda wrote:
 - Original Message -
 On 07/03/2014 11:55 PM, Miro Hrončok wrote:

 Other than the packaging reasons: Fedora might attract Python
 enthusiasts and developers as it is most likely the only Linux distro
 that has development version of Python packaged nightly. Developers and
 powerusers can play with new features committed yesterday just by doing
 `dnf update`.

 I actually mentioned this in my recent SciPy keynote, on the grounds
 that scientists may want to play around with the new matrix
 multiplication operator without having to build Python from source :)
 
 Yeah, I saw that one on YouTube. Good talk :)
 Actually, I'd like to advertise this even more, e.g. on some of Python 
 upstream mailing list - on the other hand, I don't want to look like I'm 
 spamming everyone needlessly... What do you think would be the best place to 
 announce this? python-announce-list?

You can get away with a lot on python-ideas, and you're likely to find
folks potentially interested in playing around with it there.

Cheers,
Nick.

-- 
Nick Coghlan
Red Hat Hosted  Shared Services
Software Engineering  Development, Brisbane

HSS Provisioning Architect
___
python-devel mailing list
python-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/python-devel

Re: Introducing Python 3.5 nightly builds for Fedora

2014-07-29 Thread Bohuslav Kabrda
- Original Message -
 On 07/03/2014 11:55 PM, Miro Hrončok wrote:
 
  Other than the packaging reasons: Fedora might attract Python
  enthusiasts and developers as it is most likely the only Linux distro
  that has development version of Python packaged nightly. Developers and
  powerusers can play with new features committed yesterday just by doing
  `dnf update`.
 
 I actually mentioned this in my recent SciPy keynote, on the grounds
 that scientists may want to play around with the new matrix
 multiplication operator without having to build Python from source :)

Yeah, I saw that one on YouTube. Good talk :)
Actually, I'd like to advertise this even more, e.g. on some of Python upstream 
mailing list - on the other hand, I don't want to look like I'm spamming 
everyone needlessly... What do you think would be the best place to announce 
this? python-announce-list?

Thanks,
Slavek

 Cheers,
 Nick.
___
python-devel mailing list
python-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/python-devel

Re: Introducing Python 3.5 nightly builds for Fedora

2014-07-20 Thread Nick Coghlan
On 07/03/2014 11:55 PM, Miro Hrončok wrote:

 Other than the packaging reasons: Fedora might attract Python
 enthusiasts and developers as it is most likely the only Linux distro
 that has development version of Python packaged nightly. Developers and
 powerusers can play with new features committed yesterday just by doing
 `dnf update`.

I actually mentioned this in my recent SciPy keynote, on the grounds
that scientists may want to play around with the new matrix
multiplication operator without having to build Python from source :)

Cheers,
Nick.

-- 
Nick Coghlan
Red Hat Hosted  Shared Services
Software Engineering  Development, Brisbane

HSS Provisioning Architect
___
python-devel mailing list
python-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/python-devel

Re: Introducing Python 3.5 nightly builds for Fedora

2014-07-04 Thread Miro Hrončok
Dne 4.7.2014 02:06, Zbigniew Jędrzejewski-Szmek napsal(a):
 Hi,
 looks like something I might use for development of Python software.
 But for this to be truly useful, I'd need a bunch of stuff on top,
 at least numpy/scipy, but also pytables, matplotlib. Without that it
 would be even hard to test building of packages, since they often
 depend on those modules (and others of course). Is there any chance
 you could add cascaded builds of the most popular extensions?

Hi Zbyszek,
Thanks for your feedback. Unfortunately we do not plan to build most
popular extensions in this repository. We would have to select those
and that would lead to either 1) unhappy people (without necessary
packages) or 2) rebuilding almost the whole Python stack in Copr as SCL
(not enough man power, not worth the work).

You can either use pip to install dependencies or build your
dependencies as RPMs in your own Copr/mock. Feel free to ping me on IRC
if you need help.

-- 
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Introducing Python 3.5 nightly builds for Fedora

2014-07-03 Thread Miro Hrončok
Hi everybody, I'd like to introduce a new project of Slavek Kabrda and mine:

Copr repository with nightly builds of development version of Python 3.

http://copr.fedoraproject.org/coprs/churchyard/python3-nightly/

How does it work?
=

Each night, at 00:01 CET/CEST, dgroc [1] is run and checks out if any of
the following upstream projects has some new commits in master/default
branch:

 * cpython
 * setuptools
 * pip
 * wheel

If so, it creates SRPM with code from that specific new commit and
builds it in the copr repository. Is is being built as a software
collection, not to break system python3 package (that being in critpath
once Python 3 will be the default).

Benefits


This will let us know immediately when our patches of Python 3 package
are broken. We can react when that happens a we know exactly what commit
(or at lest what day) broke it. This will avoid a big fix all the
patches spree once Python 3.5 is stable and hits Fedora. The builds
also run the test suite, so we can see regressions when they happen and
we can communicate with Python upstream fast and flexible (again,
instead of a mass failure once Python 3.5 hits Fedora). It also let us
and you to test if your packages build and run with Python 3.5, so we
can avoid more confusion once Python 3.5... you see what I mean.

Other than the packaging reasons: Fedora might attract Python
enthusiasts and developers as it is most likely the only Linux distro
that has development version of Python packaged nightly. Developers and
powerusers can play with new features committed yesterday just by doing
`dnf update`.


How to use it
=

Ad the repository (with dnf copr plugin, or manually), and install
python35 package. That installs the software collection and you can use
it as any other software collection:

$ scl enable python35 python

Or

$ scl enable python35 bash

You can also install packages from PyPI:

# scl enable python35 bash
# pip install ipython

How to (test)build my package against Python 3.5


If you want to build your package against Python 3.5, you can do it in
the following way:

 1. Update the spec by adding SCL related macros, see [2][3]
 2. In mock or Copr, add the repository and add the following packages
to the chroot: scl-utils-build python35-build [4][5]
 3. Build and profit

[1] https://github.com/pypingou/dgroc
[2]
http://docs.fedoraproject.org/en-US/Fedora_Contributor_Documentation/1/html/Software_Collections_Guide/sect-Converting_a_Conventional_Spec_File.html
[3] https://bitbucket.org/bkabrda/spec2scl/
[4]
https://lists.fedorahosted.org/pipermail/softwarecollections/2012-November/18.html
[5] http://mmaslano.livejournal.com/9668.html

-- 
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Introducing Python 3.5 nightly builds for Fedora

2014-07-03 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jul 03, 2014 at 03:55:51PM +0200, Miro Hrončok wrote:
 Other than the packaging reasons: Fedora might attract Python
 enthusiasts and developers as it is most likely the only Linux distro
 that has development version of Python packaged nightly. Developers and
 powerusers can play with new features committed yesterday just by doing
 `dnf update`.
Hi,
looks like something I might use for development of Python software.
But for this to be truly useful, I'd need a bunch of stuff on top,
at least numpy/scipy, but also pytables, matplotlib. Without that it
would be even hard to test building of packages, since they often
depend on those modules (and others of course). Is there any chance
you could add cascaded builds of the most popular extensions?

Zbyszek
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct