1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-06 00:47:13 +03:00
Commit Graph

128 Commits

Author SHA1 Message Date
Guillaume Ayoub
10b623c1d4 Manually include VARC table module in pyinstaller modules
fontTools only imports this module with __import__, that’s why it’s not
automatically found.
2024-05-27 09:04:02 +02:00
Guillaume Ayoub
e6625ed0ae Update Homebrew packages to get new font-dejavu cask 2024-05-22 19:41:21 +02:00
Guillaume Ayoub
58a1e52739 Change Homebrew repository for fonts 2024-05-22 19:27:05 +02:00
Guillaume Ayoub
29597ab893 Use ruff to replace flake8 and isort 2024-04-24 16:01:13 +02:00
Guillaume Ayoub
76f5837f80 Fix tests on macOS
To be honest, I don’t know how it used to work. Using setup-python’s version of Python
doesn’t set the environment variable set by Homebrew’s Python to use Homebrew’s
libraries.

Don’t try this at home, because you don’t need setup-python. Just use Homebrew’s Python.
2024-04-23 17:26:50 +02:00
Guillaume Ayoub
1ac1594cf3
Merge pull request #2094 from opopops/fips
Fix Kozea#2093, Mark use of hashlib.md5() as not for security
2024-03-16 18:40:55 +01:00
Germain GUEUTIER
4316bca624 Fix Kozea#2093, Mark use of hashlib.md5() as not for security 2024-03-16 18:34:59 +01:00
Guillaume Ayoub
1f2e309dfb Don’t update dependencies on macOS 2024-03-08 12:00:25 +01:00
Guillaume Ayoub
4d93769a06 Try to fix macOS pipeline 2024-03-08 11:46:50 +01:00
Guillaume Ayoub
7951711a7f Add explicit "runs-on" key for sample generation 2024-01-29 17:20:00 +01:00
Guillaume Ayoub
8900a074b9 Update dependencies for CI 2024-01-29 17:17:32 +01:00
Guillaume Ayoub
647c0f1fa6 Fix artifact name 2024-01-29 17:14:15 +01:00
Guillaume Ayoub
e914726b3a Fix GitHub CI YAML for executables 2024-01-29 17:10:05 +01:00
Guillaume Ayoub
0d2aa53fec Keep only Windows executable generation 2024-01-29 17:05:38 +01:00
Lucie Anglade
2717288ce2 Use absolute import on macos-latest 2024-01-29 16:54:40 +01:00
Lucie Anglade
ef8706fc72 Update upload-artifact action 2024-01-29 16:54:40 +01:00
Lucie Anglade
6cf9f0b3c8 Use macos-latest 2024-01-29 16:54:40 +01:00
Lucie Anglade
cd43dbb761 Don’t generate executables on ubuntu 2024-01-29 16:54:40 +01:00
Guillaume Ayoub
204452f90f Add executable generation 2024-01-29 16:54:40 +01:00
Guillaume Ayoub
583d8d9248 Drop Python 3.8 support, add 3.12 support 2023-12-27 23:10:35 +01:00
Guillaume Ayoub
563d775c8f Use "main" as default branch name 2023-09-25 18:06:05 +02:00
Guillaume Ayoub
f34174e8be Only test extra Python versions on Linux 2023-04-07 23:30:40 +02:00
Lucie Anglade
1c1365639a
Update Actions 2023-03-17 16:50:16 +01:00
Guillaume Ayoub
4377c38b29 Try to keep latest Harfbuzz version for Windows tests 2023-03-04 16:08:12 +01:00
Guillaume Ayoub
f5373c99aa Test with Python 3.11 2022-10-26 22:22:36 +02:00
Guillaume Ayoub
24a151b26a Update GitHub Action plugins versions 2022-10-26 22:22:36 +02:00
Guillaume Ayoub
577f26511c Allow tests to fail fast 2022-10-03 17:08:56 +02:00
Guillaume Ayoub
b9c086d986 Don’t use pytest plugins by default
Sometimes, when a new version of pytest, flake8 or isort is released, we get
new problems. Sometimes the bug is quickly fixed, sometimes it ends in drama
(I’m looking at you, tholo/pytest-flake8#87).

Pytest, flake8 and isort are robust tools, and we’d like to continue to use
them and to install them as testing dependencies.

Let’s lauch the tools without Pytest. We keep their configuration in
pyproject.toml so that users who want to use them in their editors can benefit
from the default tweaks. We remove the default pytest options so that packagers
don’t have to edit or remove pyproject.toml, and only have to install
pytest (linting is useless for packaging). We install pytest-xdist to launch
our tests in parallel for the CI.
2022-09-06 09:30:10 +02:00
Guillaume Ayoub
80f5722965 Try to pin Harfbuzz’s version 2022-08-15 15:17:14 +02:00
Guillaume Ayoub
b91f873c07 Don’t upgrade cffi for tests on Windows 2022-06-30 22:43:15 +02:00
Lucie Anglade
2087a69c87 Merge branch '54.x' 2022-02-23 17:09:45 +01:00
Lucie Anglade
5c36477105
Fix path 2022-02-23 16:48:33 +01:00
Lucie Anglade
51b3380a78
Fix lint? 2022-02-23 16:45:21 +01:00
Lucie Anglade
e766ac8030 Put generated documents in artifact 2022-02-23 16:42:25 +01:00
Lucie Anglade
d03a2f61af git is already installed 2022-02-23 16:29:55 +01:00
Lucie Anglade
d25ab79f67 Array for os and python version 2022-02-23 16:26:00 +01:00
Lucie Anglade
b85ca6e8b2 Fix lint 2022-02-23 16:23:20 +01:00
Lucie Anglade
4c69305886 Check if samples generation works 2022-02-23 16:20:01 +01:00
Guillaume Ayoub
82e15f6ce1 Don’t launch PyPy tests on macOS 2022-02-13 23:11:28 +01:00
Guillaume Ayoub
a28447dbb0 Try to launch tests with PyPy 3.8 2022-02-13 22:44:19 +01:00
Guillaume Ayoub
86e0362e0e Fix PyPy version 2022-02-13 22:31:31 +01:00
Guillaume Ayoub
d69f7d0a7e Launch tests with supported version of PyPy 2022-02-13 16:44:44 +01:00
Guillaume Ayoub
7399ddbae7 Drop Python 3.6 support 2022-02-13 16:34:34 +01:00
Guillaume Ayoub
249336d098 Use single quotes 2021-12-11 18:42:12 +01:00
Guillaume Ayoub
20a203d1c4 Support Python 3.10 2021-12-11 18:37:57 +01:00
Guillaume Ayoub
d5a7ec1f4a Update setup-python for GitHub Actions tests 2021-07-28 11:41:48 +02:00
Guillaume Ayoub
eae3540c55 Merge branch 'pydyfsvg' 2021-04-22 12:29:04 +02:00
Lucie Anglade
eec4af7e2c Launch test on pull request 2021-04-04 11:38:04 +02:00
Lucie Anglade
48287310eb Add doconfly action 2021-03-29 14:35:10 +02:00
Guillaume Ayoub
60d8332ccc Don’t install libffi for macOS
It’s already a dependency of Pango.
2021-03-13 09:49:03 +01:00