Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_distutils unit test is failing rev:59499 #45969

Closed
JosephArmbruster mannequin opened this issue Dec 14, 2007 · 2 comments
Closed

test_distutils unit test is failing rev:59499 #45969

JosephArmbruster mannequin opened this issue Dec 14, 2007 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@JosephArmbruster
Copy link
Mannequin

JosephArmbruster mannequin commented Dec 14, 2007

BPO 1628
Nosy @tiran

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/tiran'
closed_at = <Date 2007-12-14.23:43:48.782>
created_at = <Date 2007-12-14.13:34:41.807>
labels = ['library']
title = 'test_distutils unit test is failing rev:59499'
updated_at = <Date 2008-01-06.22:29:44.432>
user = 'https://bugs.python.org/JosephArmbruster'

bugs.python.org fields:

activity = <Date 2008-01-06.22:29:44.432>
actor = 'admin'
assignee = 'christian.heimes'
closed = True
closed_date = <Date 2007-12-14.23:43:48.782>
closer = 'christian.heimes'
components = ['Distutils']
creation = <Date 2007-12-14.13:34:41.807>
creator = 'JosephArmbruster'
dependencies = []
files = []
hgrepos = []
issue_num = 1628
keywords = []
message_count = 2.0
messages = ['58626', '58644']
nosy_count = 2.0
nosy_names = ['christian.heimes', 'JosephArmbruster']
pr_nums = []
priority = 'high'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1628'
versions = ['Python 3.0']

@JosephArmbruster
Copy link
Mannequin Author

JosephArmbruster mannequin commented Dec 14, 2007

Error detailed below.. I reverted the changes to sysconfig.py from rev
59488 and the error goes away. I believe the suspect line is:

# head
python_build = os.path.isfile(os.path.join(project_base, "Modules",
                                           "Setup.local"))
# after revert
python_build = os.path.isfile(os.path.join(project_base, "Modules",
                                           "Setup.dist"))

D:\work\py trunk\PCbuild9>rt test_distutils
Deleting .pyc/.pyo files ...
92 .pyc deleted, 0 .pyo deleted

D:\work\py trunk\PCbuild9>python  -E -tt ../lib/test/regrtest.py
test_distutils
test_distutils
test test_distutils failed -- Traceback (most recent call last):
  File "D:\work\py trunk\lib\distutils\tests\test_sysconfig.py", line
16, in test_get_config_h_filename
    self.assert_(os.path.isfile(config_h), config_h)
AssertionError: D:\work\py trunk\include\pyconfig.h

1 test failed:
test_distutils
About to run again without deleting .pyc/.pyo first:
Press any key to continue . . .

@JosephArmbruster JosephArmbruster mannequin added the stdlib Python modules in the Lib dir label Dec 14, 2007
@tiran
Copy link
Member

tiran commented Dec 14, 2007

Fixed in r59511
The Makefile VPATH fix broke an unit test on Windows. The code now
checks if any of the files exist.

@tiran tiran closed this as completed Dec 14, 2007
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

1 participant