Skip to content

Releases: approvals/ApprovalTests.Python

Templated Custom Namer

Choose a tag to compare

@JayBazuzi JayBazuzi released this 28 Jun 18:03

Description

TemplatedCustomNamer is now supported.

Example

namer = TemplatedCustomNamer(
    "{test_source_directory}/{approvals_subdirectory}/{approved_or_received}/"
    "{test_file_name}.{test_case_name}.{file_extension}"
)
verify("Hello", options=Options().with_namer(namer))

See doc

How to Use a Templated Custom Namer

fix broken import `typing_extensions`

Choose a tag to compare

@JayBazuzi JayBazuzi released this 15 Jun 19:01

The last release had an undeclared dependency on typing_extensions, which would cause an import error if you didn't install typing_extensions yourself.

Select Reporter via Environment Variable

Choose a tag to compare

@JayBazuzi JayBazuzi released this 14 Jun 19:51

PEP 625 compliance

Choose a tag to compare

@JayBazuzi JayBazuzi released this 17 May 16:55

Renames the file uploaded to mypy from approvaltests-minimal to approvaltests_minimal. This should have no affect visible to users, as pip will work the same either way.

#221

PEP 625 compliance

Choose a tag to compare

@JayBazuzi JayBazuzi released this 17 May 16:49

Renames the file uploaded to mypy from approvaltests-minimal to approvaltests_minimal. This should have no affect visible to users, as pip will work the same either way.

#221

fix release process

Choose a tag to compare

@JayBazuzi JayBazuzi released this 10 May 18:09

no user-facing changes

minor refactorings

Choose a tag to compare

@JayBazuzi JayBazuzi released this 10 May 17:54
v18.0.2

. d tidy code and update markdown snippets

Fix package metadata

Choose a tag to compare

@JayBazuzi JayBazuzi released this 26 Apr 16:50

Use the appropriate license tag to fix a warning produced with Python 3.10 packaging.

Removing support for Python 3.8 and 3.9

Choose a tag to compare

@JayBazuzi JayBazuzi released this 19 Apr 17:59

Our linter cleanup changed lots of things which might break importing in Python 3.8 and 3.9.

We also fixed approvaltests-minimal to declare its dependency on approval_utilities. (#251)

Fix broken package

Choose a tag to compare

@JayBazuzi JayBazuzi released this 07 Apr 18:25

The previous release (v17.4.2) had an error that meant it could not be imported.