Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[documentation] library version upgrade fails test_version_format #949

Copy link
Copy link
@kevinjqliu

Description

@kevinjqliu
Issue body actions

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.