Skip to content

Commit

Permalink
Prep 2.0.0 (#778)
Browse files Browse the repository at this point in the history
* sigstore: 2.0.0

Signed-off-by: William Woodruff <william@trailofbits.com>

* README, CHANGELOG: 2.0 prep

Signed-off-by: William Woodruff <william@trailofbits.com>

* transparency: fix Pydantic API use

Signed-off-by: William Woodruff <william@trailofbits.com>

---------

Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw committed Sep 28, 2023
1 parent 9255024 commit 6c7069e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ All versions prior to 0.9.0 are untracked.

## [Unreleased]

## [2.0.0]

### Added

* CLI: `sigstore sign` and `sigstore get-identity-token` now support the
Expand Down Expand Up @@ -279,7 +281,8 @@ All versions prior to 0.9.0 are untracked.
([#351](https://github.com/sigstore/sigstore-python/pull/351))

<!--Release URLs -->
[Unreleased]: https://github.com/sigstore/sigstore-python/compare/v1.1.2...HEAD
[Unreleased]: https://github.com/sigstore/sigstore-python/compare/v2.0.0...HEAD
[2.0.0]: https://github.com/sigstore/sigstore-python/compare/v1.1.2...v2.0.0
[1.1.2]: https://github.com/sigstore/sigstore-python/compare/v1.1.1...v1.1.2
[1.1.1]: https://github.com/sigstore/sigstore-python/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/sigstore/sigstore-python/compare/v1.0.0...v1.1.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ namely the Fulcio's supported identity providers and the claims expected within

### Verifying against a signature and certificate

By default, `sigstore verify` will attempt to find a `<filename>.sigstore` in the
By default, `sigstore verify identity` will attempt to find a `<filename>.sigstore` in the
same directory as the file being verified:

```console
Expand Down
2 changes: 1 addition & 1 deletion sigstore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
* `sigstore.sign`: creation of Sigstore signatures
"""

__version__ = "2.0.0rc3"
__version__ = "2.0.0"
4 changes: 2 additions & 2 deletions sigstore/transparency.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
BaseModel,
ConfigDict,
Field,
FieldValidationInfo,
StrictInt,
StrictStr,
ValidationInfo,
field_validator,
)
from pydantic.dataclasses import dataclass
Expand Down Expand Up @@ -62,7 +62,7 @@ def _tree_size_positive(cls, v: int) -> int:

@field_validator("tree_size")
def _log_index_within_tree_size(
cls, v: int, info: FieldValidationInfo, **kwargs: Any
cls, v: int, info: ValidationInfo, **kwargs: Any
) -> int:
if "log_index" in info.data and v <= info.data["log_index"]:
raise ValueError(
Expand Down

0 comments on commit 6c7069e

Please sign in to comment.