./textproc/py-validate-pyproject, Validation library and CLI tool for checking on pyproject.toml files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.22, Package name: py312-validate-pyproject-0.22, Maintainer: pkgsrc-users

With the approval of PEP 517 and PEP 518, the Python community shifted towards
a strong focus on standardisation for packaging software, which allows more
freedom when choosing tools during development and make sure packages created
using different technologies can interoperate without the need for custom
installation procedures.

This shift became even more clear when PEP 621 was also approved, as a
standardised way of specifying project metadata and dependencies.

validate-pyproject was born in this context, with the mission of validating
pyproject.toml files, and make sure they are compliant with the standards and
PEPs. Behind the scenes, validate-pyproject relies on JSON Schema files, which,
in turn, are also a standardised way of checking if a given data structure
complies with a certain specification.


Required to run:
[devel/py-setuptools] [lang/python310]

Required to build:
[devel/py-setuptools_scm] [devel/py-packaging]

Master sites:

Filesize: 110.133 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-24 07:54:39 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-validate-pyproject: updated to 0.16

Version 0.16

- Fix setuptools ``readme`` field
- Fix ``oneOf <> anyOf`` in setuptools schema
- Add previously omitted type keywords for string values
- Add schema validator check
- Add ``SchemaStore`` conversion script
- Allow tool(s) to be specified via URL (added CLI option: ``--tool``)
- Support ``uint`` formats (as used by Ruff's schema)
- Allow schemas to be loaded from ``SchemaStore`` (added CLI option: ``--store``)
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-10-14 19:22:50 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-validate-pyproject: updated to 0.15

Version 0.15
- Update ``setuptools`` schema definitions
- Add ``__repr__`` to plugin wrapper,
- Fix standard ``$schema`` ending ``#``
   2023-08-22 09:09:19 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-validate-pyproject: updated to 0.14

Version 0.14
- Ensure reporting show more detailed error messages for \ 
``RedefiningStaticFieldAsDynamic``
- Add support for ``repo-review``
   2023-07-25 09:20:06 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-validate-pyproject: updated to 0.13

Version 0.13
============
- Make it clear when using input from ``stdin``
- Fix summary for ``allOf``
- ``setuptools`` plugin:
    - Improve validation of ``attr`` directives
   2023-04-25 14:43:31 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-validate-pyproject: updated to 0.12.2

Version 0.12.2
- ``setuptools`` plugin:
    - Fix problem with ``license-files`` patterns,
      by removing ``default`` value.

Version 0.12.1
- ``setuptools`` plugin:
    - Allow PEP 561 stub names in ``tool.setuptools.package-dir``,

Version 0.12
- ``setuptools`` plugin:
    - Allow PEP 561 stub names in ``tool.setuptools.packages``,

Version 0.11
- Improve error message for invalid replacements in the ``pre_compile`` CLI,
- Allow package to be build from git archive,
- Improve error message for invalid replacements in the ``pre_compile`` CLI,
- Error-out when extra keys are added to ``project.authors/maintainers``,
- De-vendor ``fastjsonschema``,

Version 0.10.1
- Ensure ``LICENSE.txt`` is added to wheel.

Version 0.10
- Add ``NOTICE.txt`` to ``license_files``,
- Use default SSL context when downloading classifiers from PyPI,
- Remove ``setup.py``,
- Explicitly limit oldest supported Python version
- Replace usage of ``cgi.parse_header`` with ``email.message.Message``
   2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96)
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
   2022-08-02 13:16:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-validate-pyproject: updated to 0.9

Version 0.9
- Use ``tomllib`` from the standard library in Python 3.11+

Version 0.8.1
- Workaround typecheck inconsistencies between different Python versions
- Publish :pep:`561` type hints

Version 0.8
- New :pypi:`pre-commit` hook
- Allow multiple TOML files to be validated at once via **CLI**
  (*no changes regarding the Python API*).