From 730988d3ab3426b321995a6c36e6183e350fd8a2 Mon Sep 17 00:00:00 2001 From: David Huggins-Daines Date: Wed, 15 Nov 2023 17:40:28 -0500 Subject: [PATCH] fix(ci): use older pip/setuptools to tolerate bogus -VERSION- --- CHANGELOG.md | 5 +++-- noxfile.py | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7158de28..fa3de185 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,10 +15,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed - Update list of Python versions for CI -- Version dependency on `black` to avoid CI failures (for now, should reformat) +- Version dependency on `black` in tests to avoid CI failures (for now, should reformat) - Fix a `flake8` error in `tests/test_converter.py` -- Version dependency on `mypy` to avoid CI failures (for now, should fix) +- Version dependency on `mypy` in tests to avoid CI failures (for now, should fix) - Correct `type: ignore` comment in `pdfplumber/image.py` +- Version dependency on `pip` and `setuptools` in tests to avoid CI failures (for now, should *really* fix that bogus version string!) - `ValueError` when bmp images with 1 bit channel are decoded ([#773](https://github.com/pdfminer/pdfminer.six/issues/773)) - `ValueError` when trying to decrypt empty metadata values ([#766](https://github.com/pdfminer/pdfminer.six/issues/766)) - Sphinx errors during building of documentation ([#760](https://github.com/pdfminer/pdfminer.six/pull/760)) diff --git a/noxfile.py b/noxfile.py index 12489fb0..30ec9fb3 100644 --- a/noxfile.py +++ b/noxfile.py @@ -37,6 +37,8 @@ def types(session): @nox.session(python=PYTHON_ALL_VERSIONS) def tests(session): + session.install("pip<23") + session.install("setuptools<58") session.install("-e", ".[dev]") session.run("pytest")