The NetBSD Project

CVS log for pkgsrc/devel/py-pytype/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pytype

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 12 20:03:46 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, HEAD
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Fix PLIST after py-setuptools update; bump depends and revision

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Dec 29 16:58:49 2024 UTC (22 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +18 -4 lines
py-pytype: updated to 2024.10.11

Version 2024.10.11:

Updates:
* Drop support for Python 3.8 and 3.9.

* Make merge_pyi not to overwrite existing type annotations.

* When printing types (e.g. in error messages or  `reveal_type`), print generic
  builtin names in lowercase.

  Old: `from typing import List; List[Foo]`
  New: `list[Foo]`

Bug fixes:
* Unpin dependency on networkx, which means pytype now supports >=3.3.
* Emit all unused/duplicate files with --unused_imports_info_files option,
  rather than only one per unique module name.
* Change return types of AsyncGenerator's methods to coroutines. This brings
  pytype's definition in line with the definition on typeshed and reflects the
  fact that asynchronous generators defined using the `async def`/`yield` syntax
  have methods returning coroutines rather than just arbitrary awaitables.
* Fix type guards propagating invisibile bindings. Fixes some incorrect "used
  after deleted" errors with Python 3.12.
* Fix resolution of ParamSpec in files with circular imports.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Sep 16 10:56:43 2024 UTC (2 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +55 -4 lines
py-pytype: updated to 2024.9.13

Version 2024.09.13:

Updates:
* Basic support for Python 3.12.

  With this release you can run pytype with Python 3.12. But pytype has no
  support for any new features added in Python 3.12.

  Look out for type checking changes caused by different bytecode emit:
  * dict/list/set comprehensions are type checked 1 level deeper.
  * Errors after `if` statements can be printed differently.

* Add support for pickled pyi files in merge_pyi.py.

* Several performance improvements.

* Stop validating imports map. Pytype used to validate that each file in an
  import map exists. This has proved too costly, especially on network file
  systems. Pytype now assumes import maps specified via --imports_info are
  correct.

* Add support for flag files (required for Bazel workers).

* Change the format of errors printed to the console.

  Errors now also include the column number and a code snippet, which highlights
  the part that's broken.

  Old:
    File "test.py", line 4, in foo: unsupported operand type(s) for +: str and int [unsupported-operands]
      Function __add__ on str expects str
  New:
    test.py:4:10: error: in foo: unsupported operand type(s) for +: str and int [unsupported-operands]
      Function __add__ on str expects str
        print(arg + 3)
              ~~~~~~~

Bug fixes:
* Add type definitions for `aiter()` and `anext()`.
* Don't include deleted top-level variables in module types.
* Don't crash when a Generic subtype uses a TypeVar differently.
* Fix type inference for `iter(func, None)`.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun May 12 17:48:08 2024 UTC (2 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2
devel/py-pytype: import py-pytype-2024.4.11

Pytype checks and infers types for your Python code - without
requiring type annotations. Pytype can:

* Lint plain Python code, flagging common mistakes such as misspelled
  attribute names, incorrect function calls, and much more, even
  across file boundaries.
* Enforce user-provided type annotations. While annotations are
  optional for pytype, it will check and apply them where present.
* Generate type annotations in standalone files ("pyi files"),
  which can be merged back into the Python source with a provided
  merge-pyi tool.

Pytype is a static analyzer; it does not execute the code it runs
on.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>