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

Deprecate FlowGroupEntry.with_directives #696

Merged
merged 14 commits into from
Dec 5, 2022
Merged

Conversation

b-butler
Copy link
Member

@b-butler b-butler commented Nov 30, 2022

Description

Adds a directives keyword-only argument to FlowGroupEntry.__call__.

Motivation and Context

Mimics the changes to FlowGroup.operation.

Checklist:

@b-butler b-butler requested review from a team as code owners November 30, 2022 20:26
@b-butler b-butler requested review from csadorf and syjlee and removed request for a team November 30, 2022 20:26
changelog.txt Outdated Show resolved Hide resolved
flow/project.py Outdated Show resolved Hide resolved
flow/project.py Show resolved Hide resolved
flow/project.py Outdated Show resolved Hide resolved
@bdice bdice requested a review from csadorf December 4, 2022 18:27
@@ -1703,7 +1703,9 @@ class A(FlowProject):
def foo_operation(job):
pass

@pytest.mark.filterwarnings("ignore:*with_directives*:FutureWarning")
@pytest.mark.filterwarnings(
"ignore:.*with_directives has been deprecated.*:FutureWarning"
Copy link
Member

Choose a reason for hiding this comment

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

@b-butler The message is a regex, not a glob. Previously it started with *, which means "repeat previous character". This caused pytest to crash because no previous character was defined for a string starting with *.

@codecov
Copy link

codecov bot commented Dec 4, 2022

Codecov Report

Merging #696 (3a3fe4d) into master (38a7b8b) will decrease coverage by 0.00%.
The diff coverage is 81.81%.

@@            Coverage Diff             @@
##           master     #696      +/-   ##
==========================================
- Coverage   80.27%   80.27%   -0.01%     
==========================================
  Files          30       30              
  Lines        3143     3153      +10     
  Branches      767      770       +3     
==========================================
+ Hits         2523     2531       +8     
- Misses        485      486       +1     
- Partials      135      136       +1     
Impacted Files Coverage Δ
flow/project.py 82.53% <81.81%> (-0.02%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@bdice bdice added this to the v0.23.0 milestone Dec 4, 2022
@bdice bdice enabled auto-merge (squash) December 4, 2022 19:44
changelog.txt Outdated Show resolved Hide resolved
@bdice bdice disabled auto-merge December 4, 2022 19:47
@bdice
Copy link
Member

bdice commented Dec 4, 2022

@csadorf I'd like to let you approve this before merging since you requested changes. I think it's ready to go once you approve.

flow/project.py Outdated Show resolved Hide resolved
@bdice bdice merged commit cdeaf3f into master Dec 5, 2022
@bdice bdice deleted the refactor/group_directives branch December 5, 2022 11:29
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.

3 participants