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

Add synapse_requirement to storm package schema (SYN-5993) #3304

Merged
merged 7 commits into from Aug 23, 2023

Conversation

Cisphyx
Copy link
Contributor

@Cisphyx Cisphyx commented Aug 22, 2023

No description provided.

@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.11% ⚠️

Comparison is base (a2ca678) 97.26% compared to head (ac9947c) 97.16%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3304      +/-   ##
==========================================
- Coverage   97.26%   97.16%   -0.11%     
==========================================
  Files         228      228              
  Lines       45675    45679       +4     
==========================================
- Hits        44426    44384      -42     
- Misses       1249     1295      +46     
Flag Coverage Δ
linux 97.16% <100.00%> (+<0.01%) ⬆️
linux_replay ?

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

Files Changed Coverage Δ
synapse/lib/storm.py 95.71% <ø> (ø)
synapse/cortex.py 96.98% <100.00%> (-0.49%) ⬇️

... and 8 files with indirect coverage changes

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

synapse/cortex.py Outdated Show resolved Hide resolved
@@ -20,7 +20,8 @@
'name': 'foo',
'desc': 'The Foo Module',
'version': (0, 0, 1),
'synapse_minversion': (2, 8, 0),
'synapse_minversion': [2, 144, 0],
'synapse_version': '>=2.8.0',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be ">=2.8.0,<3.0.0" since people are likely to copy them? Should we also remove the synapse_minversion keys from any tests which are potential examples?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I'll add <3.0.0 to these, keeping a synapse_minversion in there makes sure that the cortex is updated enough to actually check the synapse_version requirement.

@invisig0th invisig0th merged commit f7bf062 into master Aug 23, 2023
5 checks passed
@invisig0th invisig0th deleted the package-versionreq branch August 23, 2023 14:41
@vEpiphyte vEpiphyte added enhancement reqChangelog requires changelog labels Aug 23, 2023
@vEpiphyte vEpiphyte added this to the v2.14x.x milestone Aug 23, 2023
@vEpiphyte vEpiphyte removed the reqChangelog requires changelog label Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants