You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
@BY-jk maybe a problem with the version of coveralls, currently we don't specify one while installing it. We can also try to add and pip freeze. I saw it the travis config, but forget to add it for the github actions.
PS: also strange that this repo support only lcov files and don't accept standard json, for example python's coverage generated by pytest isn't pushed using this GitHub action -> lcov file not found.
The reason will be displayed to describe this comment to others. Learn more.
The issue I ran into with coveralls was that pytest-cov produces a .coverage file (this is an SQLite DB file) but it is looking for an lcov.info file with a different format. It was far from obvious to me how to configure which action or which tool to produce the right output.
So I removed coverage reporting for now to make the four parallel test run.
Priority right now is to fix the broken turbodbc tests on Python 2.7: https://github.com/blue-yonder/sqlalchemy_exasol/runs/692399753?check_suite_focus=true
The reason will be displayed to describe this comment to others. Learn more.
@BY-jk Regarding turbodbc, I might found the cause. There is a new major version since 8 days and maybe that changes things. The Easiest test would be, to pin the version of the dependency to an earlier version. https://github.com/blue-yonder/turbodbc/releases
The reason will be displayed to describe this comment to others. Learn more.
@BY-jk Regarding turbodbc, I might found the cause. There is a new major version since 8 days and maybe that changes things. The Easiest test would be, to pin the version of the dependency to an earlier version. https://github.com/blue-yonder/turbodbc/releases
All old releases prior 4.0.0 have been dropped from PyPi. Turbodbc 4.0.0 only supports Python 3.6 onward. Need to investigate.
The reason will be displayed to describe this comment to others. Learn more.
So, at least I could confirm that the turbodbc 3.3.0 works with SQLA on Python 2.7 https://github.com/tkilias/sqlalchemy_exasol/tree/patch-1
Maybe we need a Turbodbc version switch in the CI depending on the Python version and could explain in the Readme that SQLA on Python 2.7 only compatible with Turbodbc <= 4.0.0 is.
The reason will be displayed to describe this comment to others. Learn more.
Yes, I have pinned to 3.3.0 for now to get back to a stable build. Adding coverage and upload to PyPi should have priority now so that we can merge the #90.
Next would be the decision on how long to continue to support 2.7. An alternative is to release 3.0.0 of this dialect that drops 2.7 support. It's dead anyhow.
The reason will be displayed to describe this comment to others. Learn more.
This could help but is currently in development state. To make progress and dump Travis I suggest to focus on uploading to PyPi on successful builds with tags. I will talk to @nndo1991 to look into this.
47e90be
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.
@BY-jk maybe a problem with the version of coveralls, currently we don't specify one while installing it. We can also try to add and pip freeze. I saw it the travis config, but forget to add it for the github actions.
47e90be
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.
And, when I look at the action definition of coverall, maybe we should use a release version and not master.
47e90be
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.
@BY-jk hm, this looks like the problem coverallsapp/github-action#49
In the last comment, someone said:
47e90be
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.
The issue I ran into with coveralls was that pytest-cov produces a .coverage file (this is an SQLite DB file) but it is looking for an lcov.info file with a different format. It was far from obvious to me how to configure which action or which tool to produce the right output.
So I removed coverage reporting for now to make the four parallel test run.
Priority right now is to fix the broken turbodbc tests on Python 2.7: https://github.com/blue-yonder/sqlalchemy_exasol/runs/692399753?check_suite_focus=true
47e90be
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.
@BY-jk Regarding turbodbc, I might found the cause. There is a new major version since 8 days and maybe that changes things. The Easiest test would be, to pin the version of the dependency to an earlier version.
https://github.com/blue-yonder/turbodbc/releases
47e90be
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.
All old releases prior 4.0.0 have been dropped from PyPi. Turbodbc 4.0.0 only supports Python 3.6 onward. Need to investigate.
47e90be
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.
So, at least I could confirm that the turbodbc 3.3.0 works with SQLA on Python 2.7
https://github.com/tkilias/sqlalchemy_exasol/tree/patch-1
Maybe we need a Turbodbc version switch in the CI depending on the Python version and could explain in the Readme that SQLA on Python 2.7 only compatible with Turbodbc <= 4.0.0 is.
47e90be
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.
Yes, I have pinned to 3.3.0 for now to get back to a stable build. Adding coverage and upload to PyPi should have priority now so that we can merge the #90.
Next would be the decision on how long to continue to support 2.7. An alternative is to release 3.0.0 of this dialect that drops 2.7 support. It's dead anyhow.
47e90be
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.
@BY-jk maybe that helps with the coverage
coverallsapp/github-action#30 (comment)
47e90be
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.
This could help but is currently in development state. To make progress and dump Travis I suggest to focus on uploading to PyPi on successful builds with tags. I will talk to @nndo1991 to look into this.
47e90be
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.
Action you use supports only lcov format which isn't produced by pytest