diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-11 18:33:27 +0200 |
---|---|---|
committer | mrbean-bremen <mrbean-bremen@users.noreply.github.com> | 2023-04-11 20:37:21 +0200 |
commit | 1906fde13c29de1ca4c232177490c39aae197aa8 (patch) | |
tree | b7cb3c939557528b8acb87096548aac835fff8a7 | |
parent | 955a7c0e29e403eb8784b8c929b8b07b40b0aa35 (diff) | |
download | pyfakefs-1906fde13c29de1ca4c232177490c39aae197aa8.tar.gz |
Include test fixtures (via package data) in artefacts
Enable installing package data in order to install the test fixture.
This is necessary to fix test failures when running tests from sdist
or the installed package:
FAILED pyfakefs/tests/patched_packages_test.py::TestPatchedPackages::test_read_excel - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/portage/dev-python/pyfakefs-5.2.1/work/pyfakefs-5.2.1/pyfakefs/tests...
-rw-r--r-- | CHANGES.md | 6 | ||||
-rw-r--r-- | setup.cfg | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,6 +1,12 @@ # pyfakefs Release Notes The released versions correspond to PyPI releases. +## Unreleased + +### Fixes +* The test fixture is now included in the source distribution and installed + with the package. + ## [Version 5.2.1](https://pypi.python.org/pypi/pyfakefs/5.2.1) (2023-04-11) Support for latest Python 3.12 version. @@ -52,6 +52,7 @@ packages = find: install_requires = python_requires = >=3.7 test_suite = pyfakefs.tests +include_package_data = True [options.packages.find] exclude = docs |