Skip to content

Commit

Permalink
Change version to 0.991+dev in preparation for the point release
Browse files Browse the repository at this point in the history
  • Loading branch information
svalentin committed Nov 8, 2022
1 parent b71dc3d commit 1368338
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions misc/upload-pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def check_sdist(dist: Path, version: str) -> None:


def spot_check_dist(dist: Path, version: str) -> None:
items = [item for item in dist.iterdir() if is_whl_or_tar(item.name)]
items = [item for item in dist.iterdir() if is_whl_or_tar(item.name) and 'wasm' not in item.name]
assert len(items) > 10
assert all(version in item.name for item in items)
assert any(item.name.endswith("py3-none-any.whl") for item in items)
Expand All @@ -93,7 +93,7 @@ def tmp_twine() -> Iterator[Path]:

def upload_dist(dist: Path, dry_run: bool = True) -> None:
with tmp_twine() as twine:
files = [item for item in dist.iterdir() if is_whl_or_tar(item.name)]
files = [item for item in dist.iterdir() if is_whl_or_tar(item.name) and 'wasm' not in item.name]
cmd: list[Any] = [twine, "upload"]
cmd += files
if dry_run:
Expand Down
2 changes: 1 addition & 1 deletion mypy/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# - Release versions have the form "0.NNN".
# - Dev versions have the form "0.NNN+dev" (PLUS sign to conform to PEP 440).
# - For 1.0 we'll switch back to 1.2.3 form.
__version__ = "0.990"
__version__ = "0.991+dev"
base_version = __version__

mypy_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
Expand Down

0 comments on commit 1368338

Please sign in to comment.