[issue17095] Modules/Setup *shared* support broken

2014-10-18 Thread Stéphane Wirtel

Stéphane Wirtel added the comment:

Hi Ned,

For the first point, maybe close this issue and open a new bug for the second.

What do you think?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-10-15 Thread Stéphane Wirtel

Stéphane Wirtel added the comment:

Hi Ned,

What are the news for this issue?

--
nosy: +matrixise

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-10-15 Thread Ned Deily

Ned Deily added the comment:

Stéphane, as I understand it, this issue covers two problems:
(1) Building and installing shared modules using Modules/Setup was broken for 
current Python 3 releases;
(2) Using those shared modules when running Python from a build directory 
(rather than from a normal installed Python) is broken.

Problem (1) is now fixed.  Problem (2) remains to be properly fixed; it's a 
little tedious to get right as a fix needs to take into account the SO_ABI and 
ensure built modules get properly cleaned and all the right Makefile 
dependencies work.  I'd be happy to review a patch if someone gets to it before 
I do.  But it seems to me that (1) was the serious problem; (2) is more of a 
minor annoyance for developers with easy workarounds, e.g. use PYTHONPATH or 
install Python to a temporary location for testing.

--
priority: normal - low

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-10-14 Thread Stefan Krah

Changes by Stefan Krah stefan-use...@bytereef.org:


--
nosy:  -skrah

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-09-14 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 781454f792c4 by Ned Deily in branch '3.4':
Issue #17095: Temporarily revert getpath.c change that added the Modules
https://hg.python.org/cpython/rev/781454f792c4

New changeset d3939f602e1f by Ned Deily in branch 'default':
Issue #17095: merge from 3.4
https://hg.python.org/cpython/rev/d3939f602e1f

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-09-14 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
priority: release blocker - normal

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-09-07 Thread Ned Deily

Ned Deily added the comment:

Clearly this breaks running from the build directory for various modules when 
their optional C extension module build fails.  I'll either change the Setup 
shared builds to use a build directory or revert the path changes prior to the 
upcoming 3.4.2.

--
assignee:  - ned.deily
nosy: +larry
priority: normal - release blocker
stage: resolved - needs patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-09-07 Thread John Malmberg

Changes by John Malmberg wb8...@gmail.com:


--
nosy: +John.Malmberg

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-08-31 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +Arfrever

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-08-27 Thread STINNER Victor

STINNER Victor added the comment:

I reopen the issue because these changes broke the decimal module when the 
_decimal module is missing: see the issue #22285.

Martin von Loewis proposed to build modules in the build directory, not in the 
Modules directory directly:
http://bugs.python.org/issue22285#msg225961

--
nosy: +haypo
resolution: fixed - 
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-08-27 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +loewis, skrah

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-06-02 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6c468df214dc by Ned Deily in branch '3.4':
Issue #17095: Fix Modules/Setup *shared* support.
http://hg.python.org/cpython/rev/6c468df214dc

New changeset 227ce85bdbe0 by Ned Deily in branch 'default':
Issue #17095: Fix Modules/Setup *shared* support.
http://hg.python.org/cpython/rev/227ce85bdbe0

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-06-02 Thread Ned Deily

Ned Deily added the comment:

Committed for release in 3.4.2 and 3.5.0.

--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2014-05-24 Thread Ned Deily

Ned Deily added the comment:

Your original patch LGTM.  However, since it was written, Setup *shared* 
support became even more broken due to changes in Makefile macros.  Attached is 
an updated patch.  I've never tried customizing Setup before so I don't have a 
lot of confidence that it now works as expected in all cases, but I tried a few 
cases (like building _ssl with a non-standard OpenSSL on OS X) and they did 
work.

--
nosy: +ned.deily
stage:  - patch review
versions: +Python 3.5 -Python 3.3
Added file: http://bugs.python.org/file35344/issue17095_modules_setup.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2013-10-14 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
versions:  -Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17095] Modules/Setup *shared* support broken

2013-01-31 Thread Thomas Wouters

New submission from Thomas Wouters:

At some point (probably in 3.2) the support for shared modules built using 
Modules/Setup was broken, for two reasons:

 - Python no longer considers 'foomodule.so' when looking for a module called 
'foo', but Modules/makesetup still appends 'module.so' for a 'foo' module.

 - Python no longer considers Modules/ to be the exec_prefix (and instead uses 
what was loaded from the build-info .txt written by setup.py) but the build 
process still leaves these Modules/Setup-built shared modules in the Modules 
directory (and it doesn't know about the directory setup.py will make, so it 
can't really do anything else.)

This patch fixes both problems, by making Modules/makesetup name shared library 
modules 'foo.so' and by adding the Modules subdirectory to sys.path (after the 
setup.py-provided directory) when running from the build directory. (The 
existing build process has no problem _installing_ the Modules/Setup-built 
extension modules, it's just Python that doesn't know how to find them.)

--
components: Build
files: getpath.diff
keywords: patch
messages: 181048
nosy: twouters
priority: normal
severity: normal
status: open
title: Modules/Setup *shared* support broken
versions: Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28928/getpath.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com