Skip to content

feat: allow logos Linux 26 1 #2048

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

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Conversation

RyanJWard
Copy link
Contributor

@RyanJWard RyanJWard commented Jun 18, 2025

Description

With the latest 26.1 Linux service prepare logo tools should be fixed

Checklist

  • I have tested my changes locally.
  • I have added necessary documentation or updated existing documentation.
  • I have followed the coding style guidelines of this project.
  • I have added appropriate unit tests.
  • I have reviewed my changes before submitting this pull request.
  • I have linked the issue or issues that are solved to the PR if any.
  • I have assigned this PR to myself.
  • I have added the minimum version decorator to any new backend method implemented.
  • I have made sure that the title of my PR follows Conventional commits style (e.g. feat: extrude circle to cylinder)

@github-actions github-actions bot added testing Anything related to tests enhancement New features or code improvements labels Jun 18, 2025
@RyanJWard RyanJWard changed the title Feat: allow logos Linux 26 1 feat: allow logos Linux 26 1 Jun 18, 2025
@RyanJWard RyanJWard self-assigned this Jun 18, 2025
Comment on lines 392 to 395
@pytest.mark.skipif(
sys.platform.startswith("linux"),
reason="Test skipped on Linux because it is specific to Windows backends.",
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use the is_linux_service() call here rather than using "sys". You could be testing against a remote Linux service from a Windows environment.. and then the test would get executed :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RobPasMue I can make that change

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh... now that I think of it. You might actually have to go with "sys". You are attempting to launch the backend so you can't perform that call... really sorry!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or you might bot even need to skip it, right? Because the execution will never happen so you are safe in any case

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it failed before I skipped it for Linux

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checked, makes sense. Those errors are only happening if running on a Windows system. I would skip the test if anybody tries to run it on anything else than Windows... so:

pytest.mark.skipif(
    os.name != "nt",
    reason="Test skipped on Linux because it is specific to Windows backends.",
)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for all the fuss @RyanJWard ... I didn't read the test properly the first time

Copy link

codecov bot commented Jun 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.53%. Comparing base (ba21a38) to head (53df94a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2048      +/-   ##
==========================================
+ Coverage   92.30%   92.53%   +0.23%     
==========================================
  Files         136      136              
  Lines        9811     9811              
==========================================
+ Hits         9056     9079      +23     
+ Misses        755      732      -23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements testing Anything related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants