Skip to content

Remove config_spec versioning#641

Merged
ascillitoe merged 3 commits intoSeldonIO:masterfrom
ascillitoe:feature/remove_config_spec
Sep 30, 2022
Merged

Remove config_spec versioning#641
ascillitoe merged 3 commits intoSeldonIO:masterfrom
ascillitoe:feature/remove_config_spec

Conversation

@ascillitoe
Copy link
Contributor

This PR removes the config_spec version number. This was added in v0.10.0, as an addition to the usual version number. This was intended to be distinct from version, with the idea being it would be used to signify changes to the format of the alibi-detect detector configuration file. However, it has proven to be of limited use, and leads to confusion (+ additional maintainability version). Since we don't guarantee save/load compatibility across version's, the config_spec number is simply not needed.

@ascillitoe ascillitoe added the Type: Serialization Serialization proposals and changes label Sep 29, 2022
Copy link
Contributor

@mauicv mauicv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@jklaise jklaise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Perhaps worth keeping with the convention of adding lines to the development version of the changelog?

@ascillitoe
Copy link
Contributor Author

LGTM. Perhaps worth keeping with the convention of adding lines to the development version of the changelog?

Good idea! Will do that now

@codecov-commenter
Copy link

Codecov Report

Merging #641 (ded0bd4) into master (0bf6de9) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #641      +/-   ##
==========================================
- Coverage   78.85%   78.83%   -0.02%     
==========================================
  Files         123      123              
  Lines        8753     8747       -6     
==========================================
- Hits         6902     6896       -6     
  Misses       1851     1851              
Flag Coverage Δ
macos-latest-3.10 ?
ubuntu-latest-3.10 78.72% <100.00%> (-0.02%) ⬇️
ubuntu-latest-3.7 78.63% <100.00%> (-0.02%) ⬇️
ubuntu-latest-3.8 78.67% <100.00%> (-0.02%) ⬇️
ubuntu-latest-3.9 78.67% <100.00%> (-0.02%) ⬇️
windows-latest-3.9 75.86% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
alibi_detect/saving/schemas.py 99.25% <ø> (-0.01%) ⬇️
alibi_detect/version.py 100.00% <ø> (ø)
alibi_detect/base.py 84.46% <100.00%> (ø)
alibi_detect/saving/validate.py 95.45% <100.00%> (-0.70%) ⬇️

@ascillitoe ascillitoe merged commit c6e78fc into SeldonIO:master Sep 30, 2022
ascillitoe pushed a commit that referenced this pull request Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Serialization Serialization proposals and changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants