Skip to content

Fix SetuptoolsDeprecationWarning: \project.license\ as a TOML table is deprecated#2697

Merged
dweindl merged 1 commit intoAMICI-dev:developfrom
dweindl:fix_pyproj_lic
Apr 23, 2025
Merged

Fix SetuptoolsDeprecationWarning: \project.license\ as a TOML table is deprecated#2697
dweindl merged 1 commit intoAMICI-dev:developfrom
dweindl:fix_pyproj_lic

Conversation

@dweindl
Copy link
Copy Markdown
Member

@dweindl dweindl commented Apr 23, 2025

Fixes #2695:

          ********************************************************************************
          Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).

          By 2026-Feb-18, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************

and

          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:

          License :: OSI Approved :: BSD License

          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************

…e is deprecated`

Fixes AMICI-dev#2695:

```
          Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).

          By 2026-Feb-18, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
```
@dweindl dweindl self-assigned this Apr 23, 2025
@dweindl dweindl requested a review from a team as a code owner April 23, 2025 13:59
@dweindl dweindl enabled auto-merge April 23, 2025 13:59
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.92%. Comparing base (ff1ee23) to head (bed56fa).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2697      +/-   ##
===========================================
- Coverage    77.93%   77.92%   -0.02%     
===========================================
  Files          326      326              
  Lines        22994    22994              
  Branches      1479     1479              
===========================================
- Hits         17920    17917       -3     
- Misses        5063     5066       +3     
  Partials        11       11              
Flag Coverage Δ
cpp 74.76% <ø> (-0.02%) ⬇️
cpp_python 33.58% <ø> (ø)
petab 39.44% <ø> (ø)
python 72.96% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dweindl dweindl added this pull request to the merge queue Apr 23, 2025
Merged via the queue into AMICI-dev:develop with commit 00ce81d Apr 23, 2025
19 of 20 checks passed
@dweindl dweindl deleted the fix_pyproj_lic branch April 23, 2025 17:15
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.

2 participants