aboutsummaryrefslogtreecommitdiff
path: root/test cases/python3
AgeCommit message (Collapse)AuthorFilesLines
2023-08-08tests: fix "4 custom target depends extmodule" with Python 3.8+ on WindowsChristoph Reiter1-0/+3
Since CPython 3.8 .pyd files no longer look in PATH for loading libraries, but require the DLL directory to be explicitely added via os.add_dll_directory(). This resulted in those tests failing with 3.8+ on Windows. Add the DLL build directory with os.add_dll_directory() to fix them. This was never noticed in CI because it only uses Python 3.7 and the MSYS2 CPython still used the old behaviour until now.
2022-11-14tests: fix edge case where non-default python is used, by skipping itEli Schwartz1-0/+6
In a couple of python module tests, we try to test things that rely on the default python being the same one we look up in the python module. This is unsolvable for the deprecated python3 module, as it actually uses the in-process version of python for everything. For the python module, we could actually look up the default system python instead of the one we are running with, but then we wouldn't be testing the functionality of that alternative python... and also the install manifest tests would see files installed for the wrong version of python, and report a combination of missing+extra files... Solve both tests by just skipping the parts we cannot check.
2022-04-20Fix purelib and platlib validation in Python3 module.Jussi Pakkanen1-2/+4
2021-09-29tests: take into account Debian Python pathsFilipe Laíns1-2/+2
Signed-off-by: Filipe Laíns <lains@riseup.net>
2021-03-04mass rewrite of string formatting to use f-strings everywhereEli Schwartz2-2/+2
performed by running "pyupgrade --py36-plus" and committing the results
2020-02-10test cases/python3/3 cython: fix dependency filesGerion Entrup1-0/+1
The Cython generation depends on cstorer.pxd as well, so add that as dependency.
2019-10-20Disable extension module tests with Python 3.8 and VS2015.Jussi Pakkanen2-0/+15
2018-08-26Tests for version constraints on custom lookup dependenciesJon Turney1-0/+4
2017-12-02tests/python/4: Test that custom target depends add PATHNirbheek Chauhan7-0/+142
2017-11-13tests: test getting python module using pkg-configAnonymous Maarten1-0/+5
2017-08-18python3: Fix tests on Windows as it uses 'Lib' and 'Include'Guillaume Poirier-Morency1-4/+5
2017-08-17python3: Add tests for platform-dependant paths and cover include pathGuillaume Poirier-Morency1-1/+12
2017-03-30python3: Add tests for sysconfig_path() and language_version()Patrick Griffis1-0/+10
2017-01-09Add .find_python() method. Supersedes #777.Jussi Pakkanen5-16/+10
2017-01-09Created a Python 3 module for simpler building of Python extension modules.Jussi Pakkanen4-16/+6
2016-12-10python3 dep: Check arch of libraries before usingNirbheek Chauhan2-9/+12
On Windows, we can build with both 32-bit and 64-bit compilers, but the Python is either 32-bit or 64-bit. Check the architecture of the found Python libraries and don't use them if they don't match our build_machine. Also skip the tests if the Python 3 dependency is not found.
2016-11-09Allow tests to mark themselves as skipped during runtime.Jussi Pakkanen1-1/+1
2016-02-26Python extension module finally works on Windows.Jussi Pakkanen3-1/+18
2016-02-21Skip cython test if it does not exist.Jussi Pakkanen1-7/+12
2016-02-21Can build Python extension on OSX.Jussi Pakkanen1-1/+9
2016-02-21Fix cython to work on platforms other than latest Ubuntu.Jussi Pakkanen2-8/+2
2016-02-21Added Cython sample project.Jussi Pakkanen7-0/+110
2016-02-21Can build a Python extension module.Jussi Pakkanen4-0/+78
2016-02-21Added plain Python sample project.Jussi Pakkanen6-0/+37