Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test metadata as produced by #3903 + #3904 #4029

Merged
merged 18 commits into from
Aug 29, 2023

Commits on Aug 23, 2023

  1. Configuration menu
    Copy the full SHA
    6410fb0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6d7ba1 View commit details
    Browse the repository at this point in the history
  3. Use _requirestxt logic for writing 'requires.txt'

    This change extracts the logic for writing 'requires.txt' from
    the ``egg_info`` module into ``_requirestxt``.
    
    It also adds the missing pre-processing for ``install_requires`` and
    ``extras_require`` previously done in ``dist`` but now implemented in
    ``_requires.txt``.
    abravalheri committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    1846940 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    619cb1f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    820775a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ed0757e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    807ab8a View commit details
    Browse the repository at this point in the history
  8. Fix merge problems

    abravalheri committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    441744c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a641c78 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    40d930f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2239b8a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3c9d6ac View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    13d1e9f View commit details
    Browse the repository at this point in the history
  14. Improve atomicity when writing PKG-INFO

    For the time being, when `setuptools.build_meta` is called,
    `egg_info.egg_base` is accidentally set to the project root between the
    several calls to the different build hooks.
    
    This means that if the hooks are called, they will try to overwrite
    `setuptools.egg-info/PKG-INFO`, and for a very short interval of time it
    will be an empty file.
    
    Another process may then try to simultaneously use `importlib.metadata`
    to list entry-points. However to sort entry-points, `importlib.metadata`
    will try to read the `Name` field in the `PKG-INFO/METADATA` files and
    will raise an error/warning if that file is empty.
    
    This commit tries to use `os.replace` to avoid having an empty PKG-INFO
    while `importlib.metadata` is used.
    abravalheri committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    f4dd7e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Configuration menu
    Copy the full SHA
    b537f53 View commit details
    Browse the repository at this point in the history
  2. Add news fragments

    abravalheri committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    39895e4 View commit details
    Browse the repository at this point in the history
  3. Fix missing branch on tox.ini config

    Here we use a specific SHA that we now is "green" to avoid problems with
    a moving HEAD.
    abravalheri committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    054ca25 View commit details
    Browse the repository at this point in the history
  4. Add validation tests for core metadata using 'packaging'

    (An independent validation library makes the confidence in the code
    stronger).
    abravalheri committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    0f64181 View commit details
    Browse the repository at this point in the history