Re: [Python-Dev] Failing tests (on a Linux distro)

2018-07-06 Thread Brett Cannon
On Fri, 6 Jul 2018 at 11:02 Serhiy Storchaka wrote: > 04.07.18 15:05, Nick Coghlan пише: > > So my guess would be that this is a test suite error where we're not > > handling the "running in a reproducible build environment with > > SOURCE_DATE_EPOCH already set" case. > > Should

Re: [Python-Dev] Failing tests (on a Linux distro)

2018-07-06 Thread Serhiy Storchaka
04.07.18 15:05, Nick Coghlan пише: So my guess would be that this is a test suite error where we're not handling the "running in a reproducible build environment with SOURCE_DATE_EPOCH already set" case. Should SOURCE_DATE_EPOCH be documented together with PYTHONDONTWRITEBYTECODE?

Re: [Python-Dev] Failing tests (on a Linux distro)

2018-07-04 Thread Matěj Cepl
On Wed, 2018-07-04 at 22:05 +1000, Nick Coghlan wrote: > Running the following locally fails for me: > > $ SOURCE_DATE_EPOCH=`date` ./python -m test test_py_compile > test_compileall Just if this is taken literally, it is wrong. According to https:

Re: [Python-Dev] Failing tests (on a Linux distro)

2018-07-04 Thread Victor Stinner
Yes, see my issue https://bugs.python.org/issue34022 to discuss how to fix tests. Victor 2018-07-04 14:05 GMT+02:00 Nick Coghlan : > On 4 July 2018 at 22:00, Nick Coghlan wrote: >> On 2 July 2018 at 17:38, Petr Viktorin wrote: >>> Anyway, the SUSE tests seem to fail on .pyc files. The main

Re: [Python-Dev] Failing tests (on a Linux distro)

2018-07-04 Thread Nick Coghlan
On 4 July 2018 at 22:00, Nick Coghlan wrote: > On 2 July 2018 at 17:38, Petr Viktorin wrote: >> Anyway, the SUSE tests seem to fail on .pyc files. The main change in that >> area was [PEP 552], try starting there. AFAIK, SUSE is ahead of Fedora in >> the reproducible builds area; perhaps that's

Re: [Python-Dev] Failing tests (on a Linux distro)

2018-07-04 Thread Nick Coghlan
On 2 July 2018 at 17:38, Petr Viktorin wrote: > Anyway, the SUSE tests seem to fail on .pyc files. The main change in that > area was [PEP 552], try starting there. AFAIK, SUSE is ahead of Fedora in > the reproducible builds area; perhaps that's where the difference is. In particular, if a

Re: [Python-Dev] Failing tests (on a Linux distro)

2018-07-02 Thread Terry Reedy
On 7/2/2018 3:38 AM, Petr Viktorin wrote: And while I'm responding here, a bit of reflection and a heads-up: What Fedora as a distro should do better next time is re-build the entire ecosystem with a new Python version. For 3.7 we started doing that too late, and there are way too many

Re: [Python-Dev] Failing tests (on a Linux distro)

2018-07-02 Thread Matěj Cepl
On Mon, 2018-07-02 at 14:13 +0200, Victor Stinner wrote: > 2018-07-02 9:38 GMT+02:00 Petr Viktorin : > > Fedora* has been building python37 since the alphas, so the > > final update to > > rc/stable was smoother. > > (...) > > * Thanks to Miro Hrončok for most of the work in Fedora > > This work

Re: [Python-Dev] Failing tests (on a Linux distro)

2018-07-02 Thread Victor Stinner
2018-07-02 9:38 GMT+02:00 Petr Viktorin : > On 07/02/18 00:59, Miro Hrončok wrote: >> Note that we (=Fedora) unfortunately skip some tests. >> (...) > > [with my Fedora hat on] > > Fedora* has been building python37 since the alphas, so the final update to > rc/stable was smoother. > (...) > *

Re: [Python-Dev] Failing tests (on a Linux distro)

2018-07-02 Thread Petr Viktorin
On 07/02/18 00:59, Miro Hrončok wrote: On 1.7.2018 23:48, Matěj Cepl wrote: On 2018-06-28, 00:58 GMT, Ned Deily wrote: On behalf of the Python development community and the Python 3.7 release team, we are pleased to announce the availability of Python 3.7.0. I am working on updating openSUSE