-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
WIP: Change the signature of pick_random #155
base: master
Are you sure you want to change the base?
Conversation
Parent pickers are no longer passed any kwargs. The pick_random must now be initialised before use, the number of parents passed to it upon initialization. In addition, pickers must always return a sequence of picked parents - even if it is only one. These changes make it much easier to implement more complex picking algorithms, and in addition they remove the requirement for the select_arguments() decorator, which hurts my eyes.
This does feel like a breaking change. Might a deprecation warning be a nice thing to add here? |
It is certainly is a breaking change. Hence it would probably be best to only publish this in v2.0. Adding a deprecation warning here doesn't make much sense: you'd be saying "this isn't going to work in the future, but you cannot do anything about it right now". |
I can live with that. But since we're not at version 1 yet, is there a reason you immediately want to jump to 2? |
Oops, I thought we were… Let’s call it 1.0 then 😊
On 18 May 2020, at 09:28, vincent d warmerdam <notifications@github.com<mailto:notifications@github.com>> wrote:
I can live with that. But since we're not at version 1 yet, is there a reason you immediately want to jump to 2?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#155 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACZ5BBAPTLOF5NTJGMZDXM3RSDPRFANCNFSM4NBZU7ZA>.
|
@rogiervandergeer are there other changes we'd like to make for version 1? I mean ... version 1 is a milestone release. |
One thing that I've been wondering about is that we may then also submit evol to this: https://joss.theoj.org/ |
I guess! Let’s not release anything yet 😊
On 18 May 2020, at 10:17, vincent d warmerdam <notifications@github.com<mailto:notifications@github.com>> wrote:
@rogiervandergeer<https://github.com/rogiervandergeer> are there other changes we'd like to make for version 1? I mean ... version 1 is a milestone release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#155 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACZ5BBDHFY5PQQ6FCTIG3TTRSDVKJANCNFSM4NBZU7ZA>.
|
Parent pickers are no longer passed any kwargs. The pick_random must
now be initialised before use, the number of parents passed to it
upon initialization. In addition, pickers must always return a sequence
of picked parents - even if it is only one.
These changes make it much easier to implement more complex picking
algorithms, and in addition they remove the requirement for the
select_arguments() decorator, which hurts my eyes.