| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
I did keep some "bare" except with catch all Exception: , while tried to disable flake8 complaints where clearly all exceptions are to be catched
Codecov Report
@@ Coverage Diff @@
## master #702 +/- ##
==========================================
+ Coverage 92.83% 94.35% +1.51%
==========================================
Files 61 61
Lines 10152 10136 -16
==========================================
+ Hits 9425 9564 +139
+ Misses 727 572 -155
Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
Travis is happy now, fighting with windows |
Sorry, something went wrong.
|
my question would be -- did hooks ever work on windows??? or tests were testing only that they "fail to work"? ;) |
Sorry, something went wrong.
|
the last succesful build on appveyor was https://ci.appveyor.com/project/Byron/gitpython/build/1.0.161 -- at that point there where no tests for succesful hooks execution. So AFAIK they never worked, and I am offloading that for future to #703 . In this one I will skip those tests tests to establish a reliable baseline for now |
Sorry, something went wrong.
|
Kudos to tour efforts and happy fighting ;-) Regarding hooks, at the time of #519 and for some months later all remaining test-cases were passing on Windows, e.g. https://ci.appveyor.com/project/ankostis/gitpython/build/1.0.433 BTW you may check if your recent efforts have fixed some of those long disabled TCs. |
Sorry, something went wrong.
|
@ankostis -- join the "fun"! but I think/hope I am "done" hooks -- as of https://ci.appveyor.com/project/ankostis/gitpython/build/1.0.433 you reference, there were no test for testing successful execution of a hook on windows . Thanks for the pointer to HIDE_WINDOWS_KNOWN_ERRORS -- I will use it instead of plain is_win (just will wait for tests to finish or fail to get a baseline ;)) As for the 'check' -- someone should just check if there is a similar to travis allow_failures, if so -- then there could be a dedicated matrix run which would do that for us, without requiring manual messing around... but that later -- for now just want it to get green. |
Sorry, something went wrong.
|
But in the future (after we are green again), it would be nice if no PR was merged if tests fail... |
Sorry, something went wrong.
|
woohoo -- some of the windows environments are green now! rebuilding to see if some spurious one didn't creep in. any immediate clue about what could be wrong in those anaconda windows ones @ankostis ? |
Sorry, something went wrong.
|
ok, @Byron , @ankostis et al, it is ready for the review. I will leave the appveyor crusade for later/someone else ATM (note a handy addition to .appveyor.yml) - at least some environments are in clear there as well, and travis is all green. Would be nice to establish the baseline of passing CI in master. |
Sorry, something went wrong.
|
I think it is not anaconda to blame but rather Cygwin's Git! For instance in git-2.8+ it doesn't even work the command pip install git+https://github.com/foo/bar.git. |
Sorry, something went wrong.
|
Yikes |
Sorry, something went wrong.
|
pip install git+http scheme failure on cygwin reported as pypa/pip#4895. |
Sorry, something went wrong.
|
Well... would be nice to get it reviewed/merged at this stage of success so that at least some baseline is established back again, and then tackle cygwin in a more dedicated PR ;) |
Sorry, something went wrong.
There was a problem hiding this comment.
👍
It's important to get at least one CI green.
Sorry, something went wrong.
| try: | ||
| return func(self, rw_repo) | ||
| except: | ||
| except: # noqa E722 |
There was a problem hiding this comment.
How about except Exception: like elsewhere?
Sorry, something went wrong.
There was a problem hiding this comment.
We could. But at this out-most level of handling execution, I thought to remain as "greedy" as possible. May be someone (among used dependencies) still manages to raise non-Exception "exceptions" up the chain from somewhere/somehow -- so I thought to remain catching them as well. In the other places it was more "specific" to not expect some complete weird stuff being thrown up. But if you insist, we could have it Exception here as well
Sorry, something went wrong.
| try: | ||
| return func(self, rw_repo, rw_daemon_repo) | ||
| except: | ||
| except: # noqa E722 |
There was a problem hiding this comment.
How about except Exception: like elsewhere?
Sorry, something went wrong.
|
@yarikoptic Thanks so much for hanging into this! Especially your crusade to get the windows CI green is particularly brave!! @ankostis certainly has a tale to tell there, too! |
Sorry, something went wrong.
|
Thanks @Byron , I hope you will have a nice (and productive in all regards) vacation! pub rsa4096/A2DE235062DA33FA 2010-06-07 Yaroslav Halchenko (Yarik) <yoh@onerussian.com> Primary key fingerprint: C5B9 05F0 E8D9 FD96 68FF 366F A2DE 2350 62DA 33FA I usually (for other projects) "tag -s" releases locally, push the tags, create release out of them on github I am yarikoptic on pypi |
Sorry, something went wrong.
> pub rsa4096/A2DE235062DA33FA 2010-06-07 Yaroslav Halchenko (Yarik) <yoh@onerussian.com> > Primary key fingerprint: C5B9 05F0 E8D9 FD96 68FF 366F A2DE 2350 62DA 33FA As per #702 (comment)
|
@yarikoptic Thanks - I added you to the list of maintainers on PyPi and your key to the release-verification-key.asc, so you should be able to make your own signed releases from now on. Just to stay in training, I would like to do v2.1.8 though :). |
Sorry, something went wrong.
|
oh yeah, I would prefer not to release unless I really have to ;) so I am ok to stay in training for as long as it could be ;-) |
Sorry, something went wrong.
…travis BF (codename "happy travis"): trying to address lints etc to make Travis green again
> pub rsa4096/A2DE235062DA33FA 2010-06-07 Yaroslav Halchenko (Yarik) <yoh@onerussian.com> > Primary key fingerprint: C5B9 05F0 E8D9 FD96 68FF 366F A2DE 2350 62DA 33FA As per gitpython-developers#702 (comment)
| Back | FazBrowse Home | New Git URL |
Some minor RFings did creep in, hopefully I didn't change any logic (tests will show ;) ).