| Summary: | python-setuptools-6.0 is available | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Upstream Release Monitoring <upstream-release-monitoring> |
| Component: | python-setuptools | Assignee: | Fedora Infrastructure SIG <infra-sig> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | a.badger, kevin, lmacken, mstuchli, rbean, rkuska |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-11 21:02:41 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Upstream Release Monitoring
2013-12-18 10:39:30 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. 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 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. 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. 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...
(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. 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 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.
Sure, makes sense. Any thoughts on how safe this would be to push to rawhide? 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.
(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. OK - built for rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=7834466 |