Conversation
* Green test-suite on Python 3: slice & dict fixes * Amending tox test conditions * adding ci.yaml * added full docstrings * correting ci.yaml syntax error * py3-port: make batch.py import relative, drop Py2 refs, bump to v1.0.3 * batch: restore calibrate_tim2_day convenience wrapper * batch: split concatenated kernel so helper returns (G_pc, G_npc, meta) * batch: changelog update
|
Hi, hopefully this brings this package up to 3.8 compatibility! |
|
Hi @robatobalzac, thank you for the PR. I just had a quick look (using python 3.13 actually) and found some small issues:
Would you like to add that to your PR? In addition I noticed a small issue with the scorr package with python >= 3.12 but I can take care of that tomorrow. |
|
Ah one more thing: It looks like we are dropping Python 2 support then, which is fine. I would like to do a major version bump in this case and not just a patch. |
|
Hi!Noted on all points, I will sort this out tomorrow! Thank you!Best,Robert DeWittOn 3 Aug 2025, at 14:45, Felix Patzelt ***@***.***> wrote:felixpatzelt left a comment (felixpatzelt/priceprop#2)
Ah one more thing: It looks like we are dropping Python 2 support then, which is fine. I would like to do a major version bump in this case and not just a patch.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
Hi! the iteration update seems to highlight some other issues. Was s meant to be i-1? samples = list(masks.keys()) Even correcting these issues leads to others, any ideas on this one? I'm not yet that familiar with the code and this may be obvious to you. My apologies if not! AssertionError Traceback (most recent call last) File ~/My Drive/MscThesis/Project-Code/priceprop/priceprop/batch.py:392, in calc_models(dbc, nfft, group, calibrate, split_by, rshift, models, smooth_kernel) File ~/My Drive/MscThesis/Project-Code/priceprop/priceprop/batch.py:244, in calibrate_models(tt, nfft, group, models) File /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scorr/corr3.py:304, in x3corr_grouped_df(df, cols, by, nfft, funcs, subtract_mean, norm, debias) File /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scorr/corr3.py:168, in x3corr(x, y, z, nfft, pad, subtract_mean, norm, debias) File /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scorr/corr3.py:24, in fft2x(x, y, z, nfft) AssertionError: Arrays must have the same length |
|
I will have a look tomorrow. Today I prepared the PR for the scorr package that makes it work for me under Python 3.13. I found some issues with the notebooks there as well due to a change in pandas. |
Green test-suite on Python 3: slice & dict fixes
Amending tox test conditions
adding ci.yaml
added full docstrings
correting ci.yaml syntax error
py3-port: make batch.py import relative, drop Py2 refs, bump to v1.0.3
batch: restore calibrate_tim2_day convenience wrapper
batch: split concatenated kernel so helper returns (G_pc, G_npc, meta)
batch: changelog update