Skip to content

[documentation] library version upgrade fails test_version_format #949

@kevinjqliu

Description

@kevinjqliu

Feature Request / Improvement

When Pyiceberg upgrades its version, such as now from 0.6.1 -> 0.7.0. The local repo will fail test_version_format until the library is reinstalled with the new version.

Add explanation to test_version_format error message that the failure can be due to the Pyiceberg library version bump and possible solution such as to rerun make install.

================================================================== FAILURES ==================================================================
____________________________________________________________ test_version_format _____________________________________________________________

    def test_version_format() -> None:
        from importlib import metadata
    
        installed_version = metadata.version("pyiceberg")
    
>       assert (
            __version__ == installed_version
        ), f"{__version__} <> {installed_version}, the installed version does not match with the current codebase"
E       AssertionError: 0.7.0 <> 0.6.1, the installed version does not match with the current codebase
E       assert '0.7.0' == '0.6.1'
E         - 0.6.1
E         + 0.7.0

tests/test_version.py:26: AssertionError

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions