Skip to content

Releases: omarkohl/pytest-datafiles

3.0.1

04 Jan 15:08

Choose a tag to compare

Fixed

  • Corrected minimum pytest version requirement from >=3.6 to >=6.2.0 to match actual requirements (tmp_path fixture)
  • Closed issue #11 - file mode bits are now preserved (resolved by pathlib migration in 3.0)

Added

  • Regression test to ensure file permissions are preserved when copying files

Changed

  • Migrated to uv for package management and builds
  • Added ruff for code formatting and linting
  • Converted documentation from RST to Markdown
  • Added Dependabot for automated dependency updates
  • Updated GitHub Actions workflows for CI/CD

3.0.0

24 Feb 10:28
02969ca

Choose a tag to compare

3.0.0

Changed

  • BREAKING CHANGE: Using pathlib.Path instead of py.path #7
  • BREAKING CHANGE: Removed support for Python 2.7 and Python 3 <= 3.6

2.0.1

01 May 09:42

Choose a tag to compare

Fixed

  • Register custom marker 'datafiles' to avoid PytestUnknownMarkWarning #18

2.0

07 Oct 11:21

Choose a tag to compare

2.0

Added

  • Explicit support for Python 3.6 (no changes were necessary)

Removed

  • BREAKING CHANGE: Python 2.6 is no longer supported (because we rely on pytest >= 3.6)

Fixed

  • Use the new pytest mark API to fix MarkInfo warnings (#2)
  • BREAKING CHANGE: Symlinks are now copied as links instead of copying the target they point to (#1)

1.0

24 Jun 19:09

Choose a tag to compare

1.0
  • Bump version to 1.0 to signal that the plugin is stable
  • Minor refactorization without repercussions for users
  • Only use regular 'paths' (str) instead of py.path objects in documentation
    examples because they were confusing to some people (unfamiliar with py.path)

0.2

02 Sep 19:50

Choose a tag to compare

0.2
  • Support for directories
  • Option 'keep_top_dir' to keep the top level directory (instead of only
    copying its content). Possible values are: True, False (default)
  • Option 'on_duplicate' to specify what to do when duplicate files or
    directories are encountered. Possible values are: 'exception' (default),
    'ignore', 'overwrite'

0.1

01 Aug 21:55

Choose a tag to compare

0.1

Added

  • Specify one or multiple files to be copied by decorating the test function