-
Notifications
You must be signed in to change notification settings - Fork 44
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
Test on ubuntu-18.04, not 16.04 #889
Conversation
ubuntu-16.04 is no longer available on GitHub Actions CI
modified: .github/workflows/test-with-edm.yml modified: ci/edmtool.py
modified: .github/workflows/test-with-edm.yml
modified: .github/workflows/test-with-edm.yml
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.
LGTM
test suite is happy
@@ -27,7 +27,7 @@ jobs: | |||
- name: Install Wx dependencies for Linux | |||
run: | | |||
sudo apt-get update | |||
sudo apt-get install libsdl2-2.0-0 | |||
sudo apt-get install libsdl1.2-dev |
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.
I notice there was an old open and closed PR #865 that I believe was closed because of wx failures.
Are those still present if we try to use ubuntu-latest - hence the use of 18.04 in this PR instead? Does this wx dependency change have any impact on those failures?
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.
EDIT: looks like in the commit history on this PR you tried ubuntu-latest, then came back - so I'm assuming latest still has some issues and that is a can of worms for a future day
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.
Are those still present if we try to use ubuntu-latest
I haven't tested with ubuntu-latest (ubuntu-20.04 at the moment)
Does this wx dependency change have any impact on those failures?
I'm not sure. I didn't investigate it further.
so I'm assuming latest still has some issues
No. I realized that I made a mistake when using ubuntu-18.04, which is why i reverted the change to ubuntu-latest. I will investigate later what happens when we use ubuntu-latest.
* FIX : Test on ubuntu-18.04, not 16.04 ubuntu-16.04 is no longer available on GitHub Actions CI * FIX : Use ubuntu-latest instead of ubuntu-18.04 * FIX : Use ubuntu-18.04 with the right package repository modified: .github/workflows/test-with-edm.yml modified: ci/edmtool.py * FIX : Install libsdl2-dev using the ubuntu package manager modified: .github/workflows/test-with-edm.yml * FIX : Use libsdl1.2, not libsdl2 modified: .github/workflows/test-with-edm.yml
* Fix svg backend issue with pyparsing version >= 3 (#888) * FIX : Fix issue with pyparsing version >= 3 fixes #887 This PR fixes an issue because of an upstream change with the pyparsing CaselessLiteral class, where the name attribute became a read-only property in version >= 3. We now use the new public set_name method instead of directly setting the attribute. * FIX : Handle pyparsing versions 2 and 3 accordingly the new set_name API is only available on pyparsing version >= 3 so we use packaging to handle the behavior according to the version this commit makes packaging a dependency of the svg backend and this commit adds a regression test modified: enable/__init__.py modified: enable/savage/svg/pathdata.py modified: enable/savage/svg/tests/test_pathdata.py * REF : Go with a simpler solution of checking for the method name instead of manually parsing and checking the pyparsing version and calling the relevant method depending on the version, we simply check for the existence of the set_name method now and use it if it exists. If it doesnt, we fall back to the old setName method The dependence of packaging has now been removed because we dont need to parse the version anymore modified: enable/__init__.py modified: enable/savage/svg/pathdata.py * Test on ubuntu-18.04, not 16.04 (#889) * FIX : Test on ubuntu-18.04, not 16.04 ubuntu-16.04 is no longer available on GitHub Actions CI * FIX : Use ubuntu-latest instead of ubuntu-18.04 * FIX : Use ubuntu-18.04 with the right package repository modified: .github/workflows/test-with-edm.yml modified: ci/edmtool.py * FIX : Install libsdl2-dev using the ubuntu package manager modified: .github/workflows/test-with-edm.yml * FIX : Use libsdl1.2, not libsdl2 modified: .github/workflows/test-with-edm.yml
This PR updates the CI to use
ubuntu-18.04
, notubuntu-16.04
as it is no longer available on GitHub Actions CI. Accordingly, we also install the necessarylibsdl
.