dbbs-lab / bsb-core

The Brain Scaffold Builder
https://bsb.readthedocs.io
GNU General Public License v3.0
21 stars 16 forks source link

Assert package requirements #809

Closed Helveg closed 6 months ago

Helveg commented 6 months ago

Describe the work done

Models can now list which packages they rely on. When a Configuration is instantiated in an environment that fails to meet those requirements, warnings will be raised.

List which issues this resolves:

Tasks

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 75.00000% with 26 lines in your changes are missing coverage. Please review.

Project coverage is 83.77%. Comparing base (85ec28c) to head (ef83d18).

Files Patch % Lines
bsb/config/_attrs.py 13.33% 13 Missing :warning:
bsb/config/_make.py 61.53% 5 Missing :warning:
bsb/_package_spec.py 92.59% 2 Missing :warning:
bsb/config/types.py 81.81% 2 Missing :warning:
tests/test_selectors.py 66.66% 2 Missing :warning:
bsb/config/_config.py 92.30% 1 Missing :warning:
bsb/storage/fs/file_store.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #809 +/- ## ========================================== - Coverage 83.81% 83.77% -0.05% ========================================== Files 106 107 +1 Lines 13062 13118 +56 ========================================== + Hits 10948 10989 +41 - Misses 2114 2129 +15 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.