diff --git a/misc/upload-pypi.py b/misc/upload-pypi.py index be8da9e44f86..38c772cc5183 100644 --- a/misc/upload-pypi.py +++ b/misc/upload-pypi.py @@ -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) @@ -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: diff --git a/mypy/version.py b/mypy/version.py index fa4e0c0cc58f..fe89c3e5e78d 100644 --- a/mypy/version.py +++ b/mypy/version.py @@ -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__)))