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

Update dependency reuse to v4 #516

Merged
merged 2 commits into from
Jul 31, 2024
Merged

Update dependency reuse to v4 #516

merged 2 commits into from
Jul 31, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 3, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
reuse (source) ==3.0.2 -> ==4.0.3 age adoption passing confidence

Release Notes

fsfe/reuse-tool (reuse)

v4.0.3

Compare Source

Fixed
  • Increased the minimum requirement of attrs to >=21.3. Older versions do
    not import correctly. (#​1044)

v4.0.2

Compare Source

Fixed
  • Repaired a bug that would cause a crash when running
    annotate --merge-copyrights on a file that does not yet have a year in the
    copyright statement. This bug was introduced in v4.0.1. (#​1030)

v4.0.1

Compare Source

Fixed
  • Make sure that Read the Docs can compile the documentation. This necesitated
    updating poetry.lock. (#​1028)

v4.0.0

Compare Source

This release of REUSE implements the new
REUSE Specification v3.2. It adds the
REUSE.toml file format as a replacement for .reuse/dep5. The new format is
easier to write and parse, is better at disambiguating certain corner cases, and
is more flexible for customisation and future additions.

To convert your existing .reuse/dep5 to REUSE.toml, you can simply use the
reuse convert-dep5 command.

Alongside the REUSE.toml feature is a wealth of other improvements.
reuse lint --lines may be especially interesting for CI workflows, as well as
the fact that the amount of PendingDeprecationWarnings has been drastically
reduced now that the information aggregation behaviour of .reuse/dep5 is
explicitly defined in the specification.

The tool has also been made easier to use with the addition of man pages. The
man pages can be found online at https://reuse.readthedocs.io/en/stable/man/.
Your distribution's packager will need to make them accessible via
man reuse(1). Unfortunately, man pages cannot be made accessible via Python's
packaging, although the full documentation (including man pages) is included in
the sdist.

This changeset also contains the changes of v3.1.0a1.

Added
  • Added support for REUSE.toml. (#​863)
  • Added reuse convert-dep5 to convert .reuse/dep5 to REUSE.toml. (#​863)
  • Man pages added for all reuse commands. Distribution maintainers might wish
    to distribute the (Sphinx-built) man pages. (#​975)
  • More file types are recognised:
  • Added comment styles:
    • man for UNIX Man pages (.man) (#​954)
  • Added --lines output option for lint. (#​956)
  • Treat % !TEX and % !BIB as shebangs in TeX and BibTeX files, respectively
    (#​971)
  • Support alternate spelling --skip-unrecognized. (#​974)
  • In annotate, rename --copyright-style to --copyright-prefix. The former
    parameter is still supported. (#​973)
  • Support alternate spelling --skip-unrecognized (#​974)
  • cpp and cppsingle style shorthands (see changes). (#​941)
Changed
  • Updated SPDX resources to 3.24.0. (#​994)
  • Updated REUSE specification version to 3.2. (#​994)
  • .s files now use the Python comment style as per GNU Assembler (gas). (#​928)
  • Previously, any file that begins with COPYING or LICENSE was ignored. This
    has been changed. Now, files like COPYING_README are no longer ignored, but
    COPYING and COPYING.txt are still ignored (in other words: exact matches,
    or COPYING + a file extension). Idem ditto for LICENSE. (#​886)
  • Dependencies added:
  • Reorganised the way that c, css, and csingle styles work. (#​941)
    • c used to support multi-line comments; it now only supports multi-line
      /* */ comments. This is identical to the old css style.
    • cpp has been added, which supports multi-line /* */ comments and
      single-line // comments. This is identical to the old c style.
    • csingle has been renamed to cppsingle, and it supports only single-line
      // comments.
Deprecated
  • .reuse/dep5 is marked deprecated. reuse convert-dep5 will help you switch
    to REUSE.toml. (#​863)
Removed
  • The PendingDeprecationWarning for the aggregation of information between DEP5
    and the contents of a file has been removed. This behaviour is now explicitly
    specified in REUSE Specification v3.2. (#​1017, related to #​779)
  • reuse init removed. (#​863)
  • csingle and css style shorthands (see changes). (#​941)
Fixed
  • The datetime value for Created: was wrongly formatted since 3.0.0. It now
    returns a correctly formatted ISO 8601 date again. (#​952)
  • Repaired the behaviour of reuse download where being inside of a LICENSES/
    directory should not create a deeper LICENSES/LICENSES/ directory. (#​975)
  • Support annotating a file that contains only a shebang. (#​965)
  • Add CONTRIBUTING.md to the sdist. (#​987)
  • In reuse spdx, fixed the output to be more compliant by capitalising
    SPDXRef-Document DESCRIBES appropriately. (#​1013)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.12%. Comparing base (2324f41) to head (77dabe7).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #516      +/-   ##
==========================================
+ Coverage   81.05%   81.12%   +0.07%     
==========================================
  Files          51       51              
  Lines        2824     2824              
  Branches      310      310              
==========================================
+ Hits         2289     2291       +2     
+ Misses        435      434       -1     
+ Partials      100       99       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/reuse-4.x branch 2 times, most recently from 5ce00aa to a5f83b1 Compare July 8, 2024 13:31
Copy link
Contributor Author

renovate bot commented Jul 31, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@kayoub5 kayoub5 merged commit 74d82b8 into master Jul 31, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant