-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
Fix tests for arrow>=0.15.6 #380
Conversation
It's a strong requirement, but I've no hard-feelings about this. @k4nar & @joelostblom WDYT? |
Currently I see three options:
Imho, removing tests is never good. Thus, one has to pick a side of |
I don't have anything against this either. I am not very experienced with what Linux distros prefer so I defer judgement there (although my general problem with many have been that they have too old packages so not sure if they would have such a recent version of arrow). One additional alternative could be to have a separate version requirement on arrow for development, since it only breaks the tests and list in the docs that week dates are only available on the latest version of arrow, which would avoid limiting the availability of Watson to those that don't care about week dates or running the tests, but for some reason can't get the latest arrow (maybe this is not at all common and therefore moot). Just throwing out ideas. |
I created this PR as a contributor to a distribution - NixOS, if it matters. The latest Others are facing the same problem, e.g., openSUSE have patched watson to remove Yet enforcing an old version leads to incompatibilities in the long run. Incentives for updating should therefore be provided. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍 .
Ok, then. @geistesk can you update the changelog so that I can merge this. Thank you! 🙏 |
@jmaupetit: Does it look right to you now? Edit: Sorry for the second modification, I rephrased it a little. |
Since its last release[0], the heavily used arrow library supports ISO week dates[1]. The CLI tests assumed that arrow does not support this. However, the new version nullified this assumption. As a provisional measure, the version of arrow was limited upwards in PR jazzband#372[2]. An obsolete version was thereby requested. A current version, or at least support for one, is important for third-party package managers. Especially GNU/Linux distributions prefer to use their own package manager to install software over pip. Thus, this commit removes both the restriction to an outdated arrow version in the requirements.txt and validates previously invalid marked week dates. [0]:https://github.com/crsmithdev/arrow/releases/tag/0.15.6 [1]:https://en.wikipedia.org/wiki/ISO_week_date [2]:jazzband#372
Thank you @geistesk 🙏 |
Added: - Log output order can now be controlled via the `--reverse/--no-reverse` flag and the `reverse_log` configuration option (#369) - Add `--at` flag to the `start` and `restart` commands (#364). - Add `--color` and `--no-color` flags to force output to be colored or not respectively (#350). Changed: - Require latest Arrow version 0.15.6 to support ISO week dates (#380) Fixed: - Make after-edit-check ensure that edited time stamps are not in the future (#381)
Added: - Log output order can now be controlled via the `--reverse/--no-reverse` flag and the `reverse_log` configuration option (#369) - Add `--at` flag to the `start` and `restart` commands (#364). - Add `--color` and `--no-color` flags to force output to be colored or not respectively (#350). Changed: - Require latest Arrow version 0.15.6 to support ISO week dates (#380) Fixed: - Make after-edit-check ensure that edited time stamps are not in the future (#381)
Since its last release0, the heavily used arrow library supports ISO
week dates1. The CLI tests assumed that arrow does not support this.
However, the new version nullified this assumption.
As a provisional measure, the version of arrow was limited upwards in
PR #3722. An obsolete version was thereby requested.
A current version, or at least support for one, is important for
third-party package managers. Especially GNU/Linux distributions prefer
to use their own package manager to install software over pip.
Thus, this commit removes both the restriction to an outdated arrow
version in the requirements.txt and validates previously invalid marked
week dates.