Skip to content

Conversation

@henchaves
Copy link
Member

@henchaves henchaves commented Dec 12, 2024

Description

On Windows, some giskard methods were failing because the default encoding type is different than utf-8. This PR explicitly set the default encoding as utf-8 for each I/O call.

Related Issue

Linear card: GSK-4014
GitHub issue: #2083

Type of Change

  • 📚 Examples / docs / tutorials / dependencies update
  • 🔧 Bug fix (non-breaking change which fixes an issue)
  • 🥂 Improvement (non-breaking change which improves an existing feature)
  • 🚀 New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🔐 Security fix
@henchaves henchaves changed the title [GSK-4014] Set encoding as utf-8 for all open statements Dec 12, 2024
@CAW-nz
Copy link

CAW-nz commented Dec 16, 2024

I've tested this branch for Quickstart script sections 1 through 3, and confirming it runs successfully now (on Windows running python via Jupyter Notebook script).

@henchaves henchaves changed the title [WIP][GSK-4014] Set encoding as utf-8 for all open statements Dec 16, 2024
@henchaves henchaves marked this pull request as ready for review December 16, 2024 23:08
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
65.5% Coverage on New Code (required ≥ 70%)

See analysis details on SonarQube Cloud

@kevinmessiaen kevinmessiaen merged commit 91222db into main Dec 19, 2024
18 of 19 checks passed
@kevinmessiaen kevinmessiaen deleted the feature/gsk-4014-set-encoding-as-utf-8-for-all-open-statements branch December 19, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants