Westley Martínez aniko...@gmail.com added the comment:
https://bugs.archlinux.org/task/25908
Looks like Allan will be taking care of this problem (eventually). I think
this bug can be closed.
--
resolution: - fixed
status: open - closed
___
Éric Araujo mer...@netwok.org added the comment:
Thank you for investigating.
--
assignee: tarek - eric.araujo
resolution: fixed - wont fix
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
Westley Martínez aniko...@gmail.com added the comment:
I emailed the Arch Linux people to get more information on this particular
issue. If they decide that the compress program will stay as is I will write
attempt to write a patch to skip the test based on the output of compress's
--version
Éric Araujo mer...@netwok.org added the comment:
Okay. It’s not a very beautiful check, but it will do. Do you want to make a
patch to disable compress if it’s a fake compress program?
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Thanks for opening #11678 for the feature request. To fix this in all
versions, we would need a way to find that the current OS is Arch, and/or that
the compress program is faulty. Do you know how to do that? Maybe with
lsb_release?
Westley Martínez aniko...@gmail.com added the comment:
I've already got a patch ready for #11678.
As for checking the compress command, perhaps we can accomplish it by comparing
version information of the program:
$ compress --version
compress 1.4
Copyright (C) 2007 Free Software Foundation,
Éric Araujo mer...@netwok.org added the comment:
Can you run “./python -m distutils.tests.test_archive_util”? We may get more
output.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
Westley Martínez aniko...@gmail.com added the comment:
test_check_archive_formats (__main__.ArchiveUtilTestCase) ... ok
test_compress_deprecated (__main__.ArchiveUtilTestCase) ... FAIL
test_make_archive (__main__.ArchiveUtilTestCase) ... ok
test_make_archive_cwd (__main__.ArchiveUtilTestCase)
Éric Araujo mer...@netwok.org added the comment:
Okay, verbose mode does not yield more info :)
Is the compress program special on your system?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
Westley Martínez aniko...@gmail.com added the comment:
I may have figured out the problem. The test checks if the archive's extension
is '.tar.Z', but the compress command on my computer appends the .gz extension
to the file. To my surprise, the gunzip command worked on the file. So the
Éric Araujo mer...@netwok.org added the comment:
Funny, that’s the second broken compress program we’re hearing of. Can you
give me the output of platform.linux_distribution() so that we can skip this
test on your OS?
--
___
Python tracker
Westley Martínez aniko...@gmail.com added the comment:
('', '', '')
:D
I'm using Arch Linux.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
___
Éric Araujo mer...@netwok.org added the comment:
:D
I know you’re using Arch, but I need a way to get that info from Python to skip
the test.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
Westley Martínez aniko...@gmail.com added the comment:
So how do other distros do it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
___
Éric Araujo mer...@netwok.org added the comment:
In general, we prefer to test for the presence of a feature rather than
hard-coding operating systems names. when this is inevitable, we use
sys.platform (say for different BSDs) or platform.linux_distribution (which
returns meaningful values
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report. What is your OS name and exact version?
--
assignee: - tarek
components: +Distutils -Tests
nosy: +eric.araujo, tarek
___
Python tracker rep...@bugs.python.org
Westley Martínez aniko...@gmail.com added the comment:
Arch Linux
kernel 2.6.37.2
glibc 2.13
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
___
Brett Cannon br...@python.org added the comment:
Can you provide the test's failing report and traceback?
--
nosy: +brett.cannon
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
Brett Cannon br...@python.org added the comment:
My mistake; missed the attachment.
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
___
New submission from Westley Martínez aniko...@gmail.com:
test_compressed_deprecated failed
--
components: Tests
files: test_distutils
messages: 129588
nosy: anikom15
priority: normal
severity: normal
status: open
title: test_distutils fails
type: behavior
versions: Python 3.3
Added
20 matches
Mail list logo