Fixed #973 updated min.py script with additional checks to scan files in the Stumpy repo that list package versions and confirm those versions align with the minimum supported versions#988
Conversation
…PY supports Python 3.8+ updated pypi.sh to reference step a) pyproject.toml instead of the decomissioned setup.py and ultimately scanned the full repository for any listings of outdated references to STUMPY supporting Python 3.7 (I was unable to find any)
|
@seanlaw as a heads up I'm trying to figure out what went wrong here locally to where none of my tests are passing on the PR! I'll be pushing again once I figure this out! Apologies for any confusion! |
65ddc78 to
605e926
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #988 +/- ##
==========================================
+ Coverage 98.93% 99.02% +0.09%
==========================================
Files 84 85 +1
Lines 14293 14413 +120
==========================================
+ Hits 14141 14273 +132
+ Misses 152 140 -12 ☔ View full report in Codecov by Sentry. |
… files in the Stumpy repo that list package versions and confirm those versions align with the minimum supported versions
|
@joehiggi1758 Can you please tell me all of the difference flavors of versioning styles that you've encountered in the files? In other words, what are all of the different types of regex you are using and what examples do they correspond to? I think there are ways for us to simplify things For example, in the README.rst, I think we should change |
|
Yes, more than happy to share!
|
|
@joehiggi1758 If we change the README to Does this miss any edge cases? |
|
I do believe that would suffice, I can start reworking my local min.py - thanks for throwing that together! However I believe that regex misses the following edge cases (I tested using regex101.com)...
I will work on trying to get a regex to match all edge cases! |
Hmm, can you tell me which lines those correspond to? I am seeing this output when I run the code: The file and line number are printed at the end of the line as In case you missed it, in addition to the regex, I also did |
|
I see, yes you're correct I overlooked that strip and replace line! All edge cases look to be accounted for! |
…ted functions (stumpy-dev#991) * Add param copy to preprocess-related functions * move new param to the end of the list of existing parameters to ensure backward compatibility * fix format
… files in the Stumpy repo that list package versions and confirm those versions align with the minimum supported versions
… files in the Stumpy repo that list package versions and confirm those versions align with the minimum supported versions
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
See #973
Pull Request Checklist
Below is a simple checklist but please do not hesitate to ask for assistance!
black(i.e.,python -m pip install blackorconda install -c conda-forge black)flake8(i.e.,python -m pip install flake8orconda install -c conda-forge flake8)pytest-cov(i.e.,python -m pip install pytest-covorconda install -c conda-forge pytest-cov)black .in the root stumpy directoryflake8 .in the root stumpy directory./setup.sh && ./test.shin the root stumpy directory