Bug 1044444 - python-setuptools-6.0 is available
Summary: python-setuptools-6.0 is available
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-setuptools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-18 10:39 UTC by Upstream Release Monitoring
Modified: 2014-10-11 21:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-11 21:02:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Upstream Release Monitoring 2013-12-18 10:39:30 UTC
Latest upstream release: 2.0.1
Current version/release in Fedora Rawhide: 2.0-1.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 1 Upstream Release Monitoring 2013-12-29 23:53:29 UTC
Latest upstream release: 2.0.2
Current version/release in Fedora Rawhide: 2.0-1.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 2 Upstream Release Monitoring 2014-01-08 10:53:18 UTC
Latest upstream release: 2.1
Current version/release in Fedora Rawhide: 2.0-1.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 3 Upstream Release Monitoring 2014-02-06 13:53:17 UTC
Latest upstream release: 2.1.2
Current version/release in Fedora Rawhide: 2.0-1.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 4 Upstream Release Monitoring 2014-02-08 11:16:37 UTC
Latest upstream release: 2.2
Current version/release in Fedora Rawhide: 2.0-1.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 5 Upstream Release Monitoring 2014-03-11 10:06:09 UTC
Latest upstream release: 3.1
Current version/release in Fedora Rawhide: 2.0-1.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 6 Upstream Release Monitoring 2014-03-18 10:09:49 UTC
Latest upstream release: 3.3
Current version/release in Fedora Rawhide: 2.0-1.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 7 Upstream Release Monitoring 2014-03-31 13:12:31 UTC
Latest upstream release: 3.4.1
Current version/release in Fedora Rawhide: 2.0-1.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 8 Upstream Release Monitoring 2014-04-14 09:12:13 UTC
Latest upstream release: 3.4.4
Current version/release in Fedora Rawhide: 2.0-1.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 9 Upstream Release Monitoring 2014-05-06 11:01:12 UTC
Latest upstream release: 3.5.1
Current version/release in Fedora Rawhide: 2.0-2.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 10 Upstream Release Monitoring 2014-05-08 09:55:19 UTC
Latest upstream release: 3.6
Current version/release in Fedora Rawhide: 2.0-2.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 11 Upstream Release Monitoring 2014-06-03 11:37:24 UTC
Latest upstream release: 4.0.1
Current version/release in Fedora Rawhide: 2.0-4.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 12 Upstream Release Monitoring 2014-06-21 20:30:10 UTC
Latest upstream release: 5.1
Current version/release in Fedora Rawhide: 2.0-5.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 13 Upstream Release Monitoring 2014-06-29 16:50:42 UTC
Latest upstream release: 5.3
Current version/release in Fedora Rawhide: 2.0-5.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 14 Upstream Release Monitoring 2014-07-06 14:53:24 UTC
Latest upstream release: 5.4
Current version/release in Fedora Rawhide: 2.0-8.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 15 Upstream Release Monitoring 2014-07-07 14:40:18 UTC
Latest upstream release: 5.4.1
Current version/release in Fedora Rawhide: 2.0-8.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 16 Upstream Release Monitoring 2014-08-04 21:26:07 UTC
Latest upstream release: 5.4.2
Current version/release in Fedora Rawhide: 2.0-8.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 17 Upstream Release Monitoring 2014-08-12 08:32:11 UTC
Latest upstream release: 5.5.1
Current version/release in Fedora Rawhide: 2.0-8.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 18 Fedora Admin XMLRPC Client 2014-08-14 03:32:45 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 19 Upstream Release Monitoring 2014-08-18 13:15:44 UTC
Latest upstream release: 5.7
Current version/release in Fedora Rawhide: 2.0-8.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Comment 20 Upstream Release Monitoring 2014-09-19 09:33:11 UTC
Latest upstream release: 5.8
Current version/release in Fedora Rawhide: 2.0-8.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy


More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring Soon this service will be implemented by a new system: https://github.com/fedora-infra/anitya/
It will require to manage monitored projects via a new web interface. Please make yourself familiar with the new system to ease the transition.

Comment 21 Upstream Release Monitoring 2014-09-27 10:47:50 UTC
Latest upstream release: 6.0
Current version/release in Fedora Rawhide: 2.0-8.fc21
URL: https://pypi.python.org/packages/source/s/setuptools/

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy


More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring Soon this service will be implemented by a new system: https://github.com/fedora-infra/anitya/
It will require to manage monitored projects via a new web interface. Please make yourself familiar with the new system to ease the transition.

Comment 22 Kevin Fenzi 2014-09-27 19:01:21 UTC
So, we are pretty behind here. ;) 

Is there any problem pushing 6.0.1 (which came out after 6.0) into rawhide to see if there's any problems?

How careful do we need do be here following upstream?

I whipped up an update and tried a scratch build... but it failed in tests (it now uses pytest):

======================================================================
ERROR: test_manifest_is_written_with_utf8_encoding (setuptools.tests.test_sdist.TestSdistTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/setuptools-6.0.1/setuptools/tests/test_sdist.py", line 186, in test_manifest_is_written_with_utf8_encoding
    filename = filename.decode(fs_enc)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128)
======================================================================
FAIL: test_manifest_is_read_with_utf8_encoding (setuptools.tests.test_sdist.TestSdistTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/setuptools-6.0.1/setuptools/tests/test_sdist.py", line 302, in test_manifest_is_read_with_utf8_encoding
    self.assertTrue(filename in cmd.filelist.files)
AssertionError: False is not true
======================================================================
FAIL: test_sdist_with_utf8_encoded_filename (setuptools.tests.test_sdist.TestSdistTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/setuptools-6.0.1/setuptools/tests/test_sdist.py", line 375, in test_sdist_with_utf8_encoded_filename
    self.assertTrue(filename in cmd.filelist.files)
AssertionError: False is not true
----------------------------------------------------------------------
Ran 138 tests in 8.618s
FAILED (failures=2, errors=1, skipped=1)
error: Bad exit status from /var/tmp/rpm-tmp.S9t0gL (%check)
    Bad exit status from /var/tmp/rpm-tmp.S9t0gL (%check)
RPM build errors:
Child return code was: 1

https://koji.fedoraproject.org/koji/taskinfo?taskID=7710027

So, I guess we need to solve this before pushing in any case...

Comment 23 Robert Kuska 2014-09-29 09:15:54 UTC
(In reply to Kevin Fenzi from comment #22)
> So, we are pretty behind here. ;) 
> 
> Is there any problem pushing 6.0.1 (which came out after 6.0) into rawhide
> to see if there's any problems?
> 
> How careful do we need do be here following upstream?
> 
> I whipped up an update and tried a scratch build... but it failed in tests
> (it now uses pytest):
> 
> ======================================================================
> ERROR: test_manifest_is_written_with_utf8_encoding
> (setuptools.tests.test_sdist.TestSdistTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/builddir/build/BUILD/setuptools-6.0.1/setuptools/tests/test_sdist.py",
> line 186, in test_manifest_is_written_with_utf8_encoding
>     filename = filename.decode(fs_enc)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 13:
> ordinal not in range(128)
> ======================================================================
> FAIL: test_manifest_is_read_with_utf8_encoding
> (setuptools.tests.test_sdist.TestSdistTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/builddir/build/BUILD/setuptools-6.0.1/setuptools/tests/test_sdist.py",
> line 302, in test_manifest_is_read_with_utf8_encoding
>     self.assertTrue(filename in cmd.filelist.files)
> AssertionError: False is not true
> ======================================================================
> FAIL: test_sdist_with_utf8_encoded_filename
> (setuptools.tests.test_sdist.TestSdistTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/builddir/build/BUILD/setuptools-6.0.1/setuptools/tests/test_sdist.py",
> line 375, in test_sdist_with_utf8_encoded_filename
>     self.assertTrue(filename in cmd.filelist.files)
> AssertionError: False is not true
> ----------------------------------------------------------------------
> Ran 138 tests in 8.618s
> FAILED (failures=2, errors=1, skipped=1)
> error: Bad exit status from /var/tmp/rpm-tmp.S9t0gL (%check)
>     Bad exit status from /var/tmp/rpm-tmp.S9t0gL (%check)
> RPM build errors:
> Child return code was: 1
> 
> https://koji.fedoraproject.org/koji/taskinfo?taskID=7710027
> 
> So, I guess we need to solve this before pushing in any case...

You have to set LANG=en_GB.utf8 LC_ALL=en_GB.utf8 when running tests (both python2 and python3), locale.getpreferredencoding() returns 'ascii' on Koji.

Comment 24 Kevin Fenzi 2014-10-03 22:35:08 UTC
Thanks. ;) 

https://koji.fedoraproject.org/koji/taskinfo?taskID=7760526

Is a 6.0.2 build. What do folks think about landing this in rawhide? 
Or is there some better testing we can do before that?

Here's the spec patch: 

diff --git a/python-setuptools.spec b/python-setuptools.spec
index 7f37e90..41ca07e 100644
--- a/python-setuptools.spec
+++ b/python-setuptools.spec
@@ -19,8 +19,8 @@
 %endif
 
 Name:           python-setuptools
-Version:        2.0
-Release:        8%{?dist}
+Version:        6.0.2
+Release:        1%{?dist}
 Summary:        Easily build and distribute Python packages
 
 Group:          Applications/System
@@ -29,8 +29,6 @@ URL:            http://pypi.python.org/pypi/%{srcname}
 Source0:        http://pypi.python.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz
 Source1:        psfl.txt
 Source2:        zpl.txt
-# Fixed in upstream using a different method
-Patch0: setuptools-sdist.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -45,13 +43,14 @@ BuildRequires:  python-wheel
 %endif
 %if 0%{?with_python3}
 BuildRequires:  python3-devel
+BuildRequires:  python3-pytest
 %if 0%{?build_wheel}
 BuildRequires:  python3-pip
 BuildRequires:  python3-wheel
 %endif
 %endif # if with_python3
 # For unittests
-BuildRequires: subversion
+BuildRequires: subversion pytest
 
 # We're now back to setuptools as the package.
 # Keep the python-distribute name active for a few releases.  Eventually we'll
@@ -88,7 +87,6 @@ execute the software that requires pkg_resources.py.
 
 %prep
 %setup -q -n %{srcname}-%{version}
-%patch0 -p1
 
 find -name '*.txt' -exec chmod -x \{\} \;
 find . -name '*.orig' -exec rm \{\} \;
@@ -172,10 +170,14 @@ find %{buildroot}%{python_sitelib} -name '*.exe' | xargs rm -f
 chmod +x %{buildroot}%{python_sitelib}/setuptools/command/easy_install.py
 
 %check
+export LANG=en_GB.utf8
+export LC_ALL=en_GB.utf8
 %{__python} setup.py test
 
 %if 0%{?with_python3}
 pushd %{py3dir}
+export LANG=en_GB.utf8
+export LC_ALL=en_GB.utf8
 %{__python3} setup.py test
 popd
 %endif # with_python3
@@ -200,6 +202,12 @@ rm -rf %{buildroot}
 %endif # with_python3
 
 %changelog
+* Fri Oct 03 2014 Kevin Fenzi <kevin> 6.0.2-1
+- Update to 6.0.2
+
+* Sat Sep 27 2014 Kevin Fenzi <kevin> 6.0.1-1
+- Update to 6.0.1. Fixes bug #1044444
+
 * Mon Jun 30 2014 Toshio Kuratomi <toshio> - 2.0-8
 - Remove the python-setuptools-devel Virtual Provides as per this Fedora 21
   Change: http://fedoraproject.org/wiki/Changes/Remove_Python-setuptools-devel

Comment 25 Robert Kuska 2014-10-05 17:45:53 UTC
I guess it is safer (or better) to use:

LANG=en_GB.utf8 LC_ALL=en_GB.utf8 %{__python} setup.py test 

for each tests run than exporting variables globally.

Comment 26 Kevin Fenzi 2014-10-05 22:35:16 UTC
Sure, makes sense. 

Any thoughts on how safe this would be to push to rawhide?

Comment 27 Matej Stuchlik 2014-10-06 11:50:27 UTC
You should also prolly use the {__python2} macro instead of {__python} and remove the bundled egg-info and *.exe files. :)

And, as for me, I'd say this should be safe enough for rawhide.

Comment 28 Ralph Bean 2014-10-10 14:50:41 UTC
(In reply to Matej Stuchlik from comment #27)
> And, as for me, I'd say this should be safe enough for rawhide.

Same here, +1 for rawhide.

Comment 29 Ralph Bean 2014-10-11 20:59:35 UTC
OK - built for rawhide:  http://koji.fedoraproject.org/koji/taskinfo?taskID=7834466


Note You need to log in before you can comment on or make changes to this bug.