Skip to content

tests/*.py: support Python 2 again while preferring Python 3#7940

Closed
mback2k wants to merge 1 commit intocurl:masterfrom
mback2k:fix-test-servers-py2
Closed

tests/*.py: support Python 2 again while preferring Python 3#7940
mback2k wants to merge 1 commit intocurl:masterfrom
mback2k:fix-test-servers-py2

Conversation

@mback2k
Copy link
Member

@mback2k mback2k commented Nov 1, 2021

This makes it possible to use the Python-based test servers
again in legacy environments which do not have modern Python.

Follow up to #7602 which broke Python 2 support
Follow up to #7935 which fixed impacket support

@mback2k mback2k added the tests label Nov 1, 2021
@mback2k mback2k self-assigned this Nov 1, 2021
@mback2k mback2k force-pushed the fix-test-servers-py2 branch 3 times, most recently from f6e0a34 to 9bd8213 Compare November 9, 2021 21:07
@bagder
Copy link
Member

bagder commented Dec 6, 2021

Is this really worth the struggle? Isn't it better to make sure we just skip the tests that need python3 if that isn't available?

@danielgustafsson
Copy link
Member

danielgustafsson commented Dec 6, 2021 via email

@mback2k
Copy link
Member Author

mback2k commented Dec 7, 2021

All the Windows builds on Azure and Cirrus CIs are affected.

@mback2k mback2k force-pushed the fix-test-servers-py2 branch 3 times, most recently from 7a8ae4f to b35fcd7 Compare December 13, 2021 19:52
@mback2k mback2k marked this pull request as ready for review December 14, 2021 05:39
@mback2k mback2k requested review from bagder and removed request for bagder December 14, 2021 06:40
@mback2k mback2k marked this pull request as draft December 14, 2021 06:41
@mback2k mback2k force-pushed the fix-test-servers-py2 branch 5 times, most recently from f378dcc to ccddfae Compare February 27, 2022 11:37
This makes it possible to use the Python-based test servers
again in legacy environments which do not have modern Python.

Install Python package impacket in relevant CI workflows.

Follow up to curl#7602 which broke Python 2 support
Follow up to curl#7935 which fixed impacket support
@mback2k
Copy link
Member Author

mback2k commented Mar 5, 2022

All the Windows builds on Azure and Cirrus CIs are affected.

Not actually correct, at least the msys2-based builds already support Python 3. Therefore closing this in favor of #8544.

@mback2k mback2k closed this Mar 5, 2022
mback2k added a commit to mback2k/curl that referenced this pull request Mar 6, 2022
Install Python package impacket in relevant CI workflows.

Follow up to curl#7935
Supersedes curl#7940
Closes curl#8544
mback2k added a commit to mback2k/curl that referenced this pull request Mar 6, 2022
Install Python package impacket in relevant CI workflows.

Follow up to curl#7935
Supersedes curl#7940
Closes curl#8544
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants