-
Notifications
You must be signed in to change notification settings - Fork 4
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
Strategy for managing upstream churn #317
Comments
Yes it is very tricky. Pinning has a lot of advantages in terms of
maintaining working releases, but when you move to target a new version of
Python it becomes a wholesale whack-an-upstream-regression operation. I do
think we need to more strictly adhere to supporting LTS versions (and e.g.
the versions of Python they bundle) of Ubuntu though and have a firmer
schedule on switchover.
I do still prefer to have fixed versions on releases though - for me the
pros outweigh the cons. Software don't need to be in installable in the
same Python environment - we have stimela to link them together for that
reason.
…On Thu, Jan 25, 2024, 13:47 JSKenyon ***@***.***> wrote:
This is a high level but persistent problem. Due to the somewhat advanced
usage of various dask/dask-ms/numba features in QuartiCal, release versions
can easily be broken by upstream changes. The simple solution to this
problem is to use a tool like poetry to freeze in known working versions on
release. This is more robust to upstream change, but more brittle in the
long term as it means installing QC as a dependency/in the same environment
as another package may become difficult.
This issue is here to help me gather my thoughts/solicit opinions from
users.
—
Reply to this email directly, view it on GitHub
<#317>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4RE6TSGJB766KT3LG5PHTYQJA47AVCNFSM6AAAAABCKMC562VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDAMRRGUZTGMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
In general I think users should be discouraged from doing this, even though they might be surprised that they shouldn't! |
I think that I am gravitating towards using |
Once again, I have convinced myself that poetry doesn't really resolve the problem as
I believe that the above strategy should produce relatively robust PyPI packages without being too strict. It also keeps things simple for users while simultaneously giving us a way to sync dev environments (if required). |
This is a high level but persistent problem. Due to the somewhat advanced usage of various dask/dask-ms/numba features in QuartiCal, release versions can easily be broken by upstream changes. The simple solution to this problem is to use a tool like poetry to freeze in known working versions on release. This is more robust to upstream change, but more brittle in the long term as it means installing QC as a dependency/in the same environment as another package may become difficult.
This issue is here to help me gather my thoughts/solicit opinions from users.
The text was updated successfully, but these errors were encountered: