-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Questions about OG-USA release 0.5.9 #306
Comments
@martinholmer I don't know what you mean by "breaks" - can't install it at all or has import problems after installation or fails later on in the middle of a calculation? It's hard to attack these problems without tracebacks and details about how it is being installed. For example, is the OG-USA 0.5.9 is currently pinned to |
@PeterDSteinberg said:
@PeterDSteinberg, You didn't read my question carefully. The work "breaks" is from the @jdebacker comment on OG-USA release 0.5.9. So, I'm asking him what he means by "breaks". I have no idea what he means, which is why I asked the question. Do you understand the conversation now? |
@PeterDSteinberg said:
This is chaos; there is nothing in the conda.recipe that says OG-USA is pinned to taxcalc >= 0.9.0 |
It was quite difficult before when there was no pinning at all or pinning that was done manually. We agree there needs to be pinning of some sort and the most reliable way, IMHO, to do that is via programmatic edits to the The server deployments have become more predictable and less expensive in human and AWS time due to the changes in policybrain-builder like this programmatic pinning. It's of course not my decision how we proceed, but we should stick with the way we are doing it now or be aware if we are switching it back to how it was that the old method had its own flavor of difficulty. I think some of the difficulty relates to the fact that we are a dispersed team and not seeing immediately who is in chaos mode - some decisions tend to push the confusion towards the pkg maintainers while others push confusion towards the server deployment engineers. |
@PeterDSteinberg said in discussion of OG-USA issue #306:
Yes, we do agree that OG-USA and B-Tax need to pin to the latest version of the taxcalc package that the developers know works with their model. But we disagree on the best way to do that. Above you talk about "go[ing] back to how it was before, leaving the pkg maintainers to edit the @PeterDSteinberg also said:
Maybe the policybrain-builder script has helped in other ways, but there is no basis to say "programmatic pinning" has helped. I say this because "manual pinning" has never been tried. So, I don't see how you can say "programmatic pinning" is better than "manual pinning" when manual pinning was never the approach. Certainly, no pinning will not work because the latest version of taxcalc will be made available to the model, which might not be ready for the latest taxcalc version. |
@martinholmer Part of the confusion is that the manual pinning of the past, when it was done, was done outside of version control as part of custom edits that were part of the old build process. There were also times when there was no pinning. I don't recall the history exactly (I'm referring to pre-policybrain-builder times in general, ca 4 to 8 months ago), but the confusion I'm discussing was one of the major motivators for making policybrain-builder work the way it does (requiring building against a known Tax-Calculator tag). We also use to have a ./distribution folder in OG-USA and nearly identical one in Tax-Calculator, where each of them needed some minor edits in order to run. Standardizing that manual editing process has helped us and also helped us avoid making a third nearly identical ./distribution folder (B-Tax). Pinning-related confusion is a common thing in complicated projects like this one. We have a demo on Wednesday about conda packaging and environments where we'll talk about the status of policybrain-builder, Jenkins, and other tools. That would be a good time to discuss further how we should proceed. My opinion at this point is that policybrain-builder needs to have its issues addressed ( @jbcrail ), but it is easy to do a one-click release with Jenkins now. About 6 months ago, a release process took about an hour of human time. |
@PeterDSteinberg Thanks for the background the the issues of pinning to specific packages for the conda recipe. I look forward to the tutorial later this week. @martinholmer To explain my comment in the release tag, my intent was to remind me, Peter, and other OG-USA users that while I created a new tag, I did so with a OG-USA that interacted with TC 0.9.0 in the way it should, but broke in other areas due to incorrect package dependencies in the |
@jdebacker, said:
That sounds great. |
In regard to where and how this projects' dependencies should be pinned, I'll quote a comment I just left over at B-Tax:
|
@jdebacker said:
@jdebacker, Thanks for the explanation. Glad you're making progress on these complex matters. |
My original question about OG-USA release 0.5.9 has been answered, so I'm closing issue #306. |
The comment on OG-USA release 0.5.9 is this:
How does OG-USA "break" and under what "Python environment"?
If it works with taxcalc package 0.9.0, then why not pin OG-USA to that version until you know OG-USA works with a more recent version of the taxcalc package?
You could do this by changing in both places the
Python/conda.recipe/meta.yaml
file to include:instead of the current
@jdebacker @rickecon @MattHJensen @PeterDSteinberg @jbcrail
The text was updated successfully, but these errors were encountered: