[issue37351] Drop libpython38.a from Windows release

2020-11-04 Thread Olivier Croquette


Olivier Croquette  added the comment:

I don't know what version of gendef is meant, but the one from MSYS2 / MinGW64 
doesn't output the result on stdout, but rather writes the file "python38.def" 
itself. So the commands are the following:

cd libs
gendef ..\python38.dll
dlltool --dllname python38.dll --def python38.def --output-lib libpython38.a

--
nosy: +ocroquette

___
Python tracker 

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



[issue37351] Drop libpython38.a from Windows release

2019-06-24 Thread Steve Dower


Steve Dower  added the comment:

Fixing --compiler=mingw32 is left for another bug, if anyone is so motivated.

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

___
Python tracker 

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



[issue37351] Drop libpython38.a from Windows release

2019-06-22 Thread Steve Dower


Steve Dower  added the comment:


New changeset fa23bd286fb7719bd7601da0b713457589f5536f by Steve Dower in branch 
'3.8':
bpo-37351: Removes libpython38.a from standard Windows distribution (GH-14276)
https://github.com/python/cpython/commit/fa23bd286fb7719bd7601da0b713457589f5536f


--

___
Python tracker 

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



[issue37351] Drop libpython38.a from Windows release

2019-06-21 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +14122
pull_request: https://github.com/python/cpython/pull/14298

___
Python tracker 

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



[issue37351] Drop libpython38.a from Windows release

2019-06-21 Thread Steve Dower


Steve Dower  added the comment:


New changeset f5690925df897cf45818bf944b28d13f37b9f8ca by Steve Dower in branch 
'master':
bpo-37351: Removes libpython38.a from standard Windows distribution (#14276)
https://github.com/python/cpython/commit/f5690925df897cf45818bf944b28d13f37b9f8ca


--

___
Python tracker 

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



[issue37351] Drop libpython38.a from Windows release

2019-06-20 Thread Steve Dower


Change by Steve Dower :


--
keywords: +patch
pull_requests: +14100
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/14276

___
Python tracker 

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



[issue37351] Drop libpython38.a from Windows release

2019-06-20 Thread Steve Dower


Steve Dower  added the comment:

Turns out that using distutils/setuptools with --compiler=mingw32 is just 
doomed to fail when it hits get_msvcr(), which has never been updated for 
Python 3.5 onwards.

So I think it's probably safe to assume that this scenario isn't a real thing 
and people are linking MinGW/Python in some other way?

--

___
Python tracker 

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



[issue37351] Drop libpython38.a from Windows release

2019-06-20 Thread Steve Dower


Steve Dower  added the comment:

Realising that this may have an impact on 
distutils.cygwincompiler.Mingw32CCompiler, but I can't tell from the source 
code how/whether it would pick up the pre-packaged libpython38.a. Does anyone 
know?

--
components: +Distutils
nosy: +dstufft, eric.araujo

___
Python tracker 

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



[issue37351] Drop libpython38.a from Windows release

2019-06-20 Thread Steve Dower


New submission from Steve Dower :

The step of generating a MinGW import library for Python releases is very 
rarely used, forces us to take extra build dependencies, and is better handled 
by the end-users who need it.

We will drop the libpython38.a file from the main distribution, and update the 
docs to contain the commands necessary (users who are using MinGW will have 
these tools easily available):

gendef python38.dll > tmp.def
dlltool --dllname python38.dll --def tmp.def --output-lib libpython38.a

Here is where Anaconda have been doing this themselves, rather than relying on 
our distributed file: 
https://github.com/AnacondaRecipes/aggregate/blob/master/libpython-feedstock/recipe/bld.bat

We also heard that the regex module no longer relies on this: 
https://mail.python.org/archives/list/python-...@python.org/message/A7IXOTARTYJUNSCFAU3YY2VOVILC4EBY/

A few people do regularly use this file, according to 
https://mobile.twitter.com/zooba/status/1139661637521031168 which is why 
including the instructions and porting notes is important. I haven't heard from 
any of them that they would have trouble running the above commands themselves.

--
assignee: steve.dower
components: Windows
messages: 346136
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: Drop libpython38.a from Windows release
type: behavior
versions: Python 3.8, Python 3.9

___
Python tracker 

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