Jump to content

cmalex

Member
  • Posts

    41
  • Joined

  • Last visited

  • Days Won

    2
  • Donations

    0.00 USD 
  • Country

    Ukraine

Posts posted by cmalex

  1. Greetings.

    Sorry. My English is bad and getting worse...

    On 8/10/2023 at 5:37 PM, AstroSkipper said:

    Can you create a new version of ProxyMII with OpenSSL 3.1.2 and Cryptography 40.0.2 2023-04-18 for Windows XP systems that have the SSE2 instruction set, and maybe upload it?

    https://mega.nz/folder/68dj2YTY#As2w31IO4Smr7gy6p1ciSg

    ProxyMII_230813.7z. But i didn't know how to get ProxyMII to work with WebSockets.

    And, please, take look at Privoxy3.0.35_231208.7z - looks like it open onlyfans.com normally.

    On 8/10/2023 at 7:12 PM, VistaLover said:

    Cryptograhy-41.0.0/Rust-1.56 doesn't work in Windows XP SP3, because it (probably) requires APIs/kernel functions not available under NT5.1 (due to Rust-1.56+ :realmad:); previous version, Cryptograhy-40.0.2/Rust-1.48, is the last one to work under XP SP3, but its official release requires the SSE2+ instructions set;

    Thanks for You.

    Official releases of Cryptography (at least >=40.0.0) didn't work in Windows XP.

    Cryptography 40.0.2 for XP i can compile from sources with rust 1.48 (with i7-4770/Win8.1) - but it requires SSE2 instruction set (from some prebuild library?). Theoretically it's possible to build rust compiler "from scratch" - but i get lots of errors. So i can't test Cryptography 40.0.2 on my primary system (Athlon 2000+/WinXP).

    Cryptography 41.0.0  use rust 1.56. Even "Hello world!", compiled with rust 1.56, fails on XP.

    Best regards.

  2. Greetings.

    Thanks. And all the best to You.

    On 8/6/2023 at 1:38 PM, AstroSkipper said:

    support more modern ciphers?

    Is exist examples (theoretically) for  OpenSSL 3.0.5 & Cryptography 3.4.8 fails?

    On 8/6/2023 at 1:38 PM, AstroSkipper said:

    3.4.8 directly to 35.0.0

    They switch x509 certs works from internal OpenSSL routes to Rust one.

    On 8/6/2023 at 1:38 PM, AstroSkipper said:

    Do you know if these versions are still compatible with Windows XP?

    OpenSSL still work fine.

    Cryptography 40.0.2 2023-04-18 (that use Rust 1.48) also works (at first sight) at virtual system. But in real XP it fail because of SSE2 lack. I can't compile Rust 1.48 without SSE2...

    Cryptography 41.0.0 2023-05-31 - fail even in virtual because of Rust 1.56.

    On 8/6/2023 at 1:38 PM, AstroSkipper said:

    than you, the creator of ProxyMII

    Sorry, i'm not creator.

    All honors belong to @Dibya - Python 3.7 for XP and  @whenever (from www.prxbx.com) - ProxHTTPSProxyMII: Reloaded

    I just put it together.

    Best regards.

  3. Greetings.

    On 5/23/2023 at 8:07 PM, Cockatiel said:

    Does it will work for Vista?

    I didn't know. I have no way to check it on Vista. It work well on WinXP and Win8.1...

    On 6/20/2023 at 11:43 AM, Zorba the Geek said:

    To work under XP I have modified the import directory of _imaging.cp38-win32.pyd and _webp.cp38-win32.pyd to change KERNEL32.DLL to kernelxp.dll

    That should have been enough.

    img2pdf with Pillow 9.5 from pypi work with me with just KERNEL32.DLL to kernelxp.dll change in _imaging.cp38-win32.pyd (JPG, PNG, GIF work normally. TIFF fail due to SSE2 lack. I'll do full check later on SSE2 virtual).

    Please add Python folder to PATH variable and check _imaging.cp38-win32.pyd with  depends.exe ("Dependency Walker",  https://www.dependencywalker.com/)

    UPD - once more - i edit _imaging.cp38-win32.pyd with HxD. So fc /b

    Comparing files _imaging.cp38-win32.pyd and _IMAGING.CP38-WIN32.OLD
    001EA6CC: 58 33
    001EA6CD: 50 32

    Best regards.

  4. Greetings.

    12 hours ago, Reino said:

    I'm unfamiliar with the term "rebase" in this case. What does it do and why is it needed?

    Sorry, i didn't have enough knowledge. Below is how i understand it.

    MSYS2 and Cygwin have some problems between fetching actual dll location in memory (default is called "base address") by Windows LoadLibrary()/GetModuleHandle()/FreeLibrary() functions (address may change between process launches) and Linux fork() function (which create full clone of existing process - including dll handles from parent).

    "rebaseall" command creates a list of fixed addresses in memory to place dll's.

    Theoretically, there is no need for "rebaseall" - only to "rebase" new dll's ( for example - python modules, that was created by pip). Something like

    find /usr/local/lib/python3.4/ -iname "*.dll" > rebase.lst
    rebase -T rebase.lst

    https://social.msdn.microsoft.com/Forums/ie/en-US/e65e5454-a35c-4dfd-9532-9284460310e1/dll-rebase?forum=windowssdk

    https://web.archive.org/web/20090221070123/http://msdn.microsoft.com:80/en-us/library/ms810432.aspx

    Best regards.

  5. Greetings

    Under Cygwin for XP even 3.9.16 work fine (but i didn't try without SSE2! Only in virtual system).

    Part 1

    # Download, patch and build
    wget https://mirrors.163.com/cygwin/x86_64/release/python39/python39-3.9.16-1-src.tar.xz
    tar --strip-components=1 -xf python39-3.9.16-1-src.tar.xz
    tar -xf Python-3.9.16.tar.xz
    cd Python-3.9.16
    cat ../3*.patch | patch --strip 2
    ./configure --enable-shared --enable-ipv6 --with-libc= --with-libm= --with-system-expat --with-system-ffi --enable-loadable-sqlite-extensions ac_cv_func_bind_textdomain_codeset=yes
    make 
    # Install to default - /usr/local
    make install
    # Add *.a to LD search path
    cp libpython*.a /lib

    Part 2 Cygwin rebaseall. Prepare files for Cygwin rebase

    find /bin /lib /usr -iname '*.so' > /tmp/to_rebase.lst
    find /bin /lib /usr -iname '*.dll' >> /tmp/to_rebase.lst

    Close all Cygwin terminals and programs and run as Admin Cygwin/bin/ash.exe

    /bin/rebaseall -T /tmp/to_rebase.lst

    Part 3 From Cygwin console install pip and yt-dlp (for example)

    python3.9 -m ensurepip && python3.9 -m pip install wheel
    pip3.9 install yt-dlp

    If errors like "child_info_fork::abort: unable to remap" appeared - it's time to rebaseall.

    Best regards.

  6. Greetings

    7 hours ago, Reino said:
    cannot find -lpython3.4

    Because modules still tries to link with -lpython$(VERSION)... Sorry, I didn't know.

    7 hours ago, Reino said:

    After some reading I realized that with an internal tool called "cygport" I could automatically compile and install the whole Python release, BUT I soon found out that Cygwin 2.874 (the latest WinXP compatible version) doesn't even have this tool.

    How did You checking the presence of packages? It's exists - http://cygwinxp.cathedral-networks.org/noarch/release/cygport/

    I'd install Cygwin using setup-x86-2.874.exe via runme.bat from  http://cygwinxp.cathedral-networks.org/cathedral/

    And to add packages i just rerun runme.bat. It must show list of available packages with search by name.

    7 hours ago, Reino said:

    `patch --force` you mean?

    Yes. And cygport build fails because of

    7 hours ago, Reino said:

    you won't need '3.2-getpath-exe-extension.patch' and '3.4-select-cygwin.patch' if you're already starting off with 'python3-3.4.3-1.src.patch'.

    7 hours ago, Reino said:

    Nice to see you got it working for v3.4.10. I'll have a look at it soon.
    What 'configure'-options did you use?

    Options from python3.cygport . It require many *-devel packages from Cygwin setup but as result only two or three failed internal modules (ossaudio). You don't need to reconfigure - just install the dependency and run make again

    Externals must be installed via pip.

    Offtopic - Do You have in plans to adding brotli, zstd and nghttp2/nghttp3 support to curl?

    Best regards.

    Clipboard01.png

  7. Greetings.

    Thanks.

    On 1/1/2023 at 6:56 PM, Reino said:

    Some external libraries for FFmpeg now require Python 3, which the latest WinXP compatible Cygwin install doesn't have (python 2.7.10).

    Package "python3" is a python 3.4.3 with a bunch of patches (look at source package). http://cygwinxp.cathedral-networks.org/x86/release/python3/

    On 5/12/2023 at 5:22 PM, Reino said:

    Python-3.4.10_config-files.7z

    At first look - strange problem in Makefile

    Lines in Makefile

    028: VERSION=    3.4

    043: LDVERSION=    $(VERSION)$(ABIFLAGS)

    196: LDLIBRARY=      libpython$(LDVERSION).dll.a

    199: DLLLIBRARY=    libpython$(LDVERSION).dll

    But

    655: $(DLLLIBRARY) libpython$(VERSION).dll.a: $(LIBRARY_OBJS)

    So it will build "libpython3.4.dll.a", but "libpython3.4m.dll" and search for linking with "libpython3.4m.dll.a"

    Please try to replace "$(VERSION)" with "$(LDVERSION)" in 655 string of Makefile or 641 of Makefile.pre.in

    PS. Sorry, i need some more time to understood Cygwin.

    UPD: 3.4-distutils-soname.patch:21 !

    UPD2: With patches from 3.4.3 (last - python3-3.4.3-1.src.patch - must be applued with "-f") 3.4.10 compiles and works under Cygwin.

    Best regards.

  8. Greetings

    5 hours ago, Reino said:

    If '__main__.py' is now hard linked to 'D:\Storage\Media\Binaries\yt-dlp_git\yt_dlp\__main__.py', I don't understand why 'yt-dlp.exe' doesn't work.

    On 5/8/2023 at 11:48 PM, cmalex said:

    It need python39._pth (as portable) with full path to this dir during install. Then You need to remove this file.

    Sorry, i can't break this magick. Pip require forced set of path to build some packages from sources - but that breaks all other modules... So python39._pth must exist only during "pip install" . Please remove python39._pth and try yt-dlp.exe once more.

    5 hours ago, Reino said:

    Your Python39 archive also comes with these OpenSSL dlls, but presumably without zlib support

    Sorry... It turned out that I have different versions of the files in different places... "I Just Get These Headaches"(c).

    Just "Kill'Em All" (c). It must work normally with Your's builds of OpenSSL.

    And can i ask You to publish at least  one lastest dev files for Your's OpenSSL and FFMpeg shared (includes and lib)?

    5 hours ago, Reino said:

    If so, do you think you'll be able to help me out with this issue?

    Why do You need exactly 3.4.10? Official 3.4.4 work perfectly without SSE2.

    Under MSYS i'd just add python folder to PATH variable (in form of "/d/Programs/Python3.4.4").

    On 1/1/2023 at 6:56 PM, Reino said:

    I don't understand how such a rule is missing from the 'Makefile'.

    Can You please give full Makefile, config.log and config.status?

    On 1/8/2023 at 1:07 AM, Reino said:

    Hardly "official" and rather experimental. Also as far as I can see, no source-files, only a pre-compiled release

    Patch for official sources for MSVC 2017 and dev files for python 3.8.13 were always in the  Dev folder. Something like "PythonXP/Dev/Python3.8_dev_ddfdeced29.7z"

    Dev files for 3.9.13 is a PythonXP/Python3.9/Python3.9_dev_dirty.7z

    https://mega.nz/folder/KxExlAiC#L9rAQ5kTCtlHgZUwaxMpgw

    Best regards.

  9. Greetings.

    3 hours ago, Reino said:

    As you can see I've extracted your archive to 'C:\Program Files\Essentials\Python39', but it looks as though "yt-dlp_py39" is hardcoded somewhere.

    Look like You had run python before folder renaming. Just remove recursively all *.pyc files and/or __pycache__ folders from Lib folder.

    During work python made sort of compiling py scripts to relative path .\__pycache__\ScriptName.pyc. This files contains absolute path to original py to check changes.

    You can leave it as is, or set system variables for  force disable bytecode saving "PYTHONDONTWRITEBYTECODE=1" (by cost of noticeable slowdown during script init. On my PC "yt-dlp -V" take 6s with cache and 21s without cache) or set absolute cache path to partition with "cheap" read (or RAM-drive - then only the first launch during this PC boot will be slow) -  "PYTHONPYCACHEPREFIX=%TEMP%\PYCACHE" or "PYTHONPYCACHEPREFIX=AbsolutePathWithDiskToPyCacheFolder"

    https://docs.python.org/3.9/using/cmdline.html

    I'm sorry, I forgot to mention that the python39._pth should be located near python.exe.  So i wrote bat to run from python folder...

    And if error "ModuleNotFoundError: No module named '_distutils_hack'" appeared - please try to upgrade pip and setuptools -

    python -m pip install -U pip setuptools

    3 hours ago, Reino said:

    this 'yt-dlp.exe' it creates in the Scripts-dir (which is really small in size) is a module binary and is a sort of shortcut method (and hardcoded to that "site-packages\yt-dlp"-dir, which it will always depend on) to be able to quickly run yt-dlp, right?

    Lib\site-packages is a one of default path (relative to python.exe) to installed modules. https://docs.python.org/3.9/library/site.html

    yt-dlp.exe created by pip is a stub that contain hardcoded path to python executable to call and small zipped py script to execute __main__.py from installed yt_dlp module (wherever it lies). "pip -e" add target folder to module search path.

    So there is no any difference between   'python "yt-dlp_git\yt_dlp\__main__.py" ' and 'yt-dlp.exe' after 'pip install -e yt-dlp_git '.

    Standalone yt-dlp.exe and yuotube-dl.exe is a self-extracting archives with "embedded" python  that every time unpacks required modules to %TEMP% folder and from there it starts.

    Offtopic - As for me, the KVM-switch turned out to be very convenient. Just now at home I have two PC units  with one "output" set (keyb, mouse, monitor). Switch by keyboard shortcut (ScrollLock,ScrollLock,1 or 2). Primary -  XP at Athlon2000+  and secondary Win8.1 at i7-4770

    Best regards.

  10. 4 hours ago, Reino said:

    I see Python binaries and libraries (without an installer), but no yt-dlp.

    Greetings.

    Sorry. Variants: 1,2 - use pip release (some faster init), 3,4 - use local yt-dlp folder.

    1. You can use cmd

    python -m yt_dlp %*

    2. You can reinstall to aquire yt-dlp.exe file in Scripts folder (linked to full python path, so You can place it everywere)

    python -m pip install yt-dlp --no-deps -I

    3. You can install it from folder (for example - local git repo "d:\git\yt-dlp\" ) with pip as editable. But there some strange with paths. It need python39._pth (as portable) with full path to this dir during install. Then You need to remove this file.

    So bat file to install must look like

    Quote

    cd /d "%~dp0"
    echo %cd% >python39._pth
    echo .>>python39._pth
    echo Lib>>python39._pth
    echo Lib/site-packages>>python39._pth
    python -m pip install -e D:\git\yt-dlp
    del python39._pth

    4. You can run setup.py from folder with yt-dlp (for example - local git repo "d:\git\yt-dlp\" ) as develop. But it's a very dirty solution.

    python setup.py develop

    1 and 2 - update via "python -m pip install yt-dlp --no-deps -U"

    3 and 4 - update via updating folder content (git fetch / git pull). After update You need to rebuild lazy extractors "python devscripts\make_lazy_extractors.py"

    Best regards.

  11. 10 minutes ago, Reino said:

    Thanks, but yt-dlp doesn't work on my non-SSE2 cpu.

    Greetings

    My main comp also doesn't have SSE2 support (SL-75KAV + AthlonXP 2000+).

    Non-SSE2 python3.9+yt-dlp  https://mega.nz/file/KkkgVb6C#c-I23du-LIS37UN83qnvW5_Xp3p53o1-Gg_QQAf2Iu0

    MS VC Redist2015 (if no one in You system) - https://mega.nz/file/mgkQDKxa#7EpAQn8K8NM4QqHvIh8LwC5uh20rKzO--C5mf_aA2EU

    PS. A thousand thanks to You for Your non-SSE2 builds and Xidel discussions and examples.

    Best regards

  12. Greetings.

    To folder Whl\Compiled added Pillow 9.5 and openCV-python 4.7.0.72  (without video! require psapi.dll kernelxp.dll libwinpthread-1.dll from External folder in python root and numpy-1.24.0.dev0+481.gb89a1d2-cp38-cp38-win32.whl from Whl)

    Also (thanks to @greenhand ) i'd done with QT5.4.2 and QT5.7.1  (both without SSE2), CMake 3.15 and bunch of libraries (zstd, brotli, libwebp etc) https://mega.nz/folder/6gU2Ba5I#ZO1ckLdkS76Dzo5eWR-9qg

    All compiled with i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z

    Best regards.

  13. Greetings.

    Yet another "mess of things" ;-) https://mega.nz/folder/CgkRVQZA#d6J2CHt65J-vAEhwb0CmFg

    Python 3.9.13 with some wheels.

    Custom variables -

    PYTHONCOMPILER = "mingw"/"mingw32"/"msvc" to force set compiler of distutils

    SETUPTOOLS_USE_DISTUTILS = "stdlib" / "local" - to disallow (""stdlib") or allow ("local") of use bundled into setuptools distutils.

    PS

    On 3/18/2023 at 8:15 PM, Zorba the Geek said:

    LOKI

    Loki 0.45.0 https://mega.nz/file/nwkGAa7C#MZ3seTUo3zzHproGQXqNsrGvo2VUHppzTpiukJjeJsc
    Best regards.

  14. Greetings.

    Sorry, currently didn't have access to Windows comp. I'll check it in nearest time.

    On 3/18/2023 at 8:15 PM, Zorba the Geek said:

    After version 0.45 was compiled on a Windows 8.1 machine

    https://github.com/Neo23x0/Loki ? Looks like it didn't require compiling. Try to install it on target XP machine from source folder in editable (developer) mode:

    pip install -e d:\LokiSourceFolder

    or

    cd /d d:\LokiSourceFolder

    pip install -e .

    On 3/18/2023 at 8:15 PM, Zorba the Geek said:

    utf_8.py is present in the Python encodings folder

    PyInstaller binaries prefer to use their own packages and folders. So the system-wide python can just be ignored. Please use "pip install -e" ;-)

    On 3/18/2023 at 8:15 PM, Zorba the Geek said:
    Linux System - deactivating process memory check ...

    It's a first error - with pywin32 (loki.py, line 69). Please execute manually commands

            import wmi
            import win32api
            from win32com.shell import shell
            import win32file

    On 3/18/2023 at 8:15 PM, Zorba the Geek said:

    Python38\Lib\subprocess.py

    changed shell-False to shell=True

    AFAIK this is a big problem... Subprocesses will start to be executed in visible cmd windows - to grab their output. I hope that i'm wrong.

    On 3/18/2023 at 8:15 PM, Zorba the Geek said:

    I am trying to compare the code between version 0.45 and version 0.33 the last XP compatible version looking for clues. 

    It's a very big distance between versions. Did You tried to run 0.40.0 BETA - first Python3 release? Git themself gave a handy instrument to find problems - "git bisect"

    Best regards.

    UPD:

    1. Last compatible pywin32-300

    2. pip -e didn't work. You can manually add path to unpacked source (for example "C:\Loki-0.45.0" ) to files "Lib\site-packages\loki.egg-path" and "Lib\site-packages\easy-install.pth". Then run with "python -m loki"

    UPD2:

    0. loki-upgrader.py must be in PATH... I'd create bat in Loki source folder:

    Quote

    cd /d "%~dp0"
    set "PATH=%~dp0;C:\Python3.8\;%PATH%"
    python -m loki
    pause

    1. pe-sieve32.exe work after replace "GetTickCount64" with "GetTickCount\0\0"

    2. At least my version of python3.8 gave error with psutils 5.6.7, compiled by me during "connections()" loop. loki.py line 873.  Temporarly replace "p.connections():" with "[]:"... (UPD: Look like lack of update. On my main system with same Python folder psutils 5.6.7 works fine. )

    Can You please give to me Yours build of psutils-3.4.2 ?

    PS. Looks like it work.

  15. Greetings.

    On 3/11/2023 at 9:27 PM, VistaLover said:

    Anyone planning on backporting Python 3.9 to Vista SP2/XP SP3, please?

    Python 3.9.0 at real WinXP 368/14/43  tests currently passed/failed/skipped ('python -m test')

    On 3/10/2023 at 11:38 PM, Zorba the Geek said:

    I hope I have the same luck when I attempt to make an XP build of Streamlink.

    I know that at least Streamlink 5.3.1 work fine.

    On 3/10/2023 at 11:38 PM, Zorba the Geek said:

    C extensions incompatible with XP. 

    Most of "C extensions" currently incompatible with my preferred "AthlonXP 2000+" due to lack of SSE2 support :-(. That's why I'm forced to collect them by myself...

    Best regards.

  16. Greetings.

    On 3/12/2023 at 7:59 PM, Zorba the Geek said:

    I think what you mean is that _imaging.cp38-win32.pyd should be opened with CFFExplorer and the import directory edited so that the module named KERNEL32.DLL is renamed to kernelXP.dll

    May be. I'd never used CFFExplorer. HxD or GSAR  utility(General Search And Replace - https://gnuwin32.sourceforge.net/packages/gsar.htm ).

    On 3/12/2023 at 7:59 PM, Zorba the Geek said:

    I assume that kernelXP.dll supplied in the External folder of your distribution should be placed in the same folder as _imaging.cp38-win32.pyd. 

    Not sure. KernelXP.dll must exist in %PATH% or near python.exe

    On 3/12/2023 at 7:31 PM, Zorba the Geek said:

    unsuitable copy of pyconfig.h which lacked the line  #define NT_THREADS

    I need to check it once more.  Did You surely used  pyconfig.h from DEV\Python3.8_dev_ddfdeced29.7z ?

    On 3/13/2023 at 7:30 AM, nicolaasjan said:

    That said, I ran into the same problems as you did.

    Sorry, i did not understood - why psutils  easy compiles in my system - but throw errors on Your's with same configs...

    Best regards.

  17. On 3/1/2023 at 9:48 PM, A1ternativE said:

    Hello, I can't get Pillow to work on your assembly.

    Error:

    from . import _imaging as core
    ImportError: DLL load failed: The specified procedure could not be found.
    Any ideas?
    Thank you

    Greetings.

    Please check lib\site-packages\PIL\_imaging.cp38-win32.pyd for "kernel32.dll" strings.

    If there are any - replace them with "kernelxp.dll"

    Best regards.

  18. On 2/4/2023 at 5:20 PM, Snowshoe said:

    Setting masterserver_debug "On" in kartconfig.cfg will show more information in the game's log.txt file. Anyway... the server it connects to uses TLS 1.2 (HTTPS only, no HTTP), but I can't get the game to connect to it regardless of whether or not I use ProxHTTPSProxy.

    Greetings.

    "libcurl 7.69 with schannel"  and "curl 7.46 with openssl" - is a incomparable thing :-(

    There is some problems with OpenSSL and "Let's Encrypt" certificates, so simplest way  is to use ProxyMII + custom libcurl.

    In attachment - libcurl 7.69.1 with schannel, built on Visual Studio C Express 2008 with forced disabled revocation (string 516 in lib\vtls\schannel.c).

    Please set masterserver_debug to "Off" - or this library may crash (i can't understood - why?)

    Best regards.

    libcurl.7z

  19. Greetings.

    On 1/31/2023 at 3:13 PM, AstroSkipper said:

    Welcome back! 

    Thank you for Your attention and my best wishes to You.

    17 hours ago, AstroSkipper said:

    Try following command line option with curl: --ssl-no-revoke.

    "These aren't the droids you're looking for." (c)

    Problem is to force ProxiMII certificate as trusted for program, that didn't allow this from settings and didn't use Windows certificate store.

    I can't figure out how an abstract program works with https - i need to investigate this specimen :-).

    curl mostly uses ".curlrc" (in variaty of names for customs builds) and "cacert.pem" (idem)

    OpenSSL is a Unix things - it's wide use config files and environment variables. But which settings was forced during compiling time? Is it was linked statically or dynamically? Does it use one of openssl.cnf, cacert.pem, SSL_DIR_PATH, SSL_FILE_PATH?

    On 1/27/2023 at 3:09 PM, Snowshoe said:

    I am trying to use programs that do use HTTPS but don't use the system proxy server (including programs that use libcurl.dll, or have curl static compiled into the executable)

    On 1/30/2023 at 7:58 PM, Snowshoe said:

    cert verification in curl (at least with OpenSSL) can be disabled with an environment variable,

    Best regards.

  20. On 1/27/2023 at 3:09 PM, Snowshoe said:

    I am trying to use programs that do use HTTPS but don't use the system proxy server (including programs that use libcurl.dll, or have curl static compiled into the executable). Simply updating root certificates and enabling TLS 1.2 in IE is not enough, I get a mis-matched hostname certificate error when trying to run programs that use curl

    Greetings.

    Certificates and proxy settings from IE are not always respected by curl and libcurl.

    Did You tried system variables, used by libcurl - "https_proxy" for example https://curl.se/libcurl/c/libcurl-env.html

    If You know exactly which SSL backend is used - You can use it's own enviroment variables for CA certificates.

    For example, OpenSSL has been using "SSL_CERT_FILE" and "SSL_CERT_DIR" since the dawn of time : https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_default_verify_paths.html   https://www.openssl.org/docs/man3.0/man7/openssl-env.html

    Best regards.

  21. Greetings.

    On 10/3/2022 at 7:12 PM, Mike_1996 said:

    wxPython 4.1.1

    Wouldn't it be difficult for You to test the compiled package wxPython 4.2.1? https://mega.nz/file/ulk3SZhL#Yn_OAQ67cKljIIVZuAMvWlOG2wemrkD8JOm9PNFX5GU

    Compiled Numpy 1.24 https://mega.nz/file/j01VFB7C#4jk54UWLqjwDxAJWseRCBI7kI6Mo9mqr2LdtgjUBOcM

    To get Pillow 9.2.0 work in WinXP You need to replace "kernel32" to "kernelxp" in pyd files.

    DLLs search path doesn't work in my build of Python - so You need to move all dlls recursively from lib/site-packages to PATH folder (or to python.exe folder).

    Best regards.

  22. On 10/3/2022 at 7:12 PM, Mike_1996 said:

    how you built the wheels provided here, on Windows 7 or on Windows XP itself?

    Greetings.

    Most of wheels were built with http://files.1f0.de/mingw/mingw-w64-gcc-6.1-stable-r20.7z . http://files.1f0.de/mingw/mingw-w64-gcc-10.3-stable-r34.7z also work well on WinXP. Simple bat example

    set "PATH=C:\Python38;D:\Mingw_61\bin;%PATH%"
    
    python setup.py -c mingw32

    For full Posix enviroment i'd used MSYS from mingw,org (AFAIK now it hosted at https://osdn.net/projects/mingw/). MSYS2 didn't work for me because of lack SSE2 support. psutils were built in MSVC 2017 (Win8.1).

    On 10/3/2022 at 7:12 PM, Mike_1996 said:

    wxPython 4.1.1

    Do You need exact version? As for now i don't find ways to build it in mingw...

    My MSVC build gave "Invalid access for memory location" error - same as wxWidget from PyPi do.

    Best regards.

  23. Greetings.

    On 9/19/2022 at 1:22 PM, Zorba the Geek said:

    I ran into a problem compiling psutils under this custom build of 3.8.1350 for XP.  I received the error message

    Quote

    c:\Python38\include\pythread.h<h128>: fatal error C1189: #error: "Require native threads See https://bugs.python.org/issue31370"

    Does this mean that this Python interpreter was built using the --without-threads option in order to disable threads?

    3.8.1350? I'm not sure about version numbering.  3.8_1a5d0099c3 work with psutil 5.6.7 normally. psutil > 5.6.7 throwed away WinXP support.

    Please take look at pyconfig.h - it must contain string "#define NT_THREADS"

    On 9/19/2022 at 1:22 PM, Zorba the Geek said:

    Could cmalex provide a list of the options they used when compiling his custom Python 3.8.1350?

    Mostly standard. It was build on MS VC 2017. Changes in config files listed in Python3.8_dev_1a5d0099c3.7z/patch.diff

    Best regards.

    psutil-5.6.7-cp38-cp38-win32.whl

×
×
  • Create New...