question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Windows fails silently on Configure Poetry step

See original GitHub issue

Meltano Version

NA

Python Version

NA

Bug scope

Other

Operating System

Windows

Description

Our tests in CI are running only for Pytho 3.9 on Windows even though our matrix suggests we test on 3.7-3.10. I started https://github.com/meltano/meltano/pull/6478 to validate this and confirmed it after seeing the following debug info in all Python versions on Windows:

Poetry
Version: 1.1.14
Python:  3.9.13

Virtualenv
Python:         3.9.13
Implementation: CPython
Path:           C:\Users\runneradmin\AppData\Local\pypoetry\Cache\virtualenvs\meltano-YRQtpV-c-py3.9
Valid:          True

System
Platform: win32
OS:       nt
Python:   C:\hostedtoolcache\windows\Python\3.9.13\x64
Installing dependencies from lock file

That means we’re not really testing Meltano on Windows for Python 3.7, 3.8 and 3.10. I suspected this while working on https://github.com/meltano/meltano/pull/6395 since that required some refactoring to how Poetry is installed and used, and saw Windows tests passing on Python 3.8 and 3.9, but failing on 3.7 and 3.10.

Code

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
vischcommented, Aug 2, 2022

Going to focus first on why the https://github.com/meltano/meltano/runs/7509637290?check_suite_focus=true “Install Dependencies” task isn’t reporting a failure to github actions.

@visch that’s an intriguing issue with GitHub actions in general, but may not be too relevant anymore at least for our Windows case, since #6395 got merged. I’d be in favor of changing the title of this issue to reference the actual Windows failures, or closing it and create new and separate issues for the failures on Python 3.7 and 3.10. The former I think is the trickier one since it seems to relate to asyncio.

Responded here https://github.com/meltano/meltano/pull/6542/files#r935018790 , maybe we could update this issue name to be [Bug]: Windows fails silently on Configure Poetry step

1reaction
edgarrmondragoncommented, Aug 2, 2022

Going to focus first on why the https://github.com/meltano/meltano/runs/7509637290?check_suite_focus=true “Install Dependencies” task isn’t reporting a failure to github actions.

@visch that’s an intriguing issue with GitHub actions in general, but may not be too relevant anymore at least for our Windows case, since #6395 got merged. I’d be in favor of changing the title of this issue to reference the actual Windows failures, or closing it and create new and separate issues for the failures on Python 3.7 and 3.10. The former I think is the trickier one since it seems to relate to asyncio.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Action failed after configuring poetry on Windows #407 - GitHub
After configuring poetry on Windows, action failed with Error: Unexpected token # in JSON. Action version: v3.1. Platform: Ubuntu; macOS
Read more >
Unable to run poetry install on Windows 10 due to wrapt 1.14 ...
I have Python 3.10.2 installed on my Windows 10 system and Poetry 1.1.14 When I run poetry install, I get the below error....
Read more >
The basics - Black 22.12.0 documentation
The basics#. Foundational knowledge on using and configuring Black. Black is a well-behaved Unix-style command-line tool:.
Read more >
A Poetic Apology. Or Why Should You Use Poetry to Manage…
In this document, we'll introduce yet another tool, Poetry, and make an argument about why you should probably add it to your own...
Read more >
Dependency Management With Python Poetry
Consequently, a user installing your package might get an error because your dependency versions are incompatible with their Python version. When you run...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found