Skip to content

Missing Cygwin support #3513

Description

@matzeri

The explicit usage of sys.platform as

     sys.platform == "linux" 
     sys.platform == "android"
     sys.platform == "win32"

to test the enviroment preclude running trio on cygwin as unsupported platform.

As linux, android, cygwin all have
os.name='posix'

can you please be a bit more inclusive ?
Trio is the only package, that I have found, to have such restricted views and unfortunately is used as needed dependency by other packages

python-tox | ImportError: cannot import name 'current_kqueue' from 'trio._core._run'
python-sniffio | cannot import name 'current_kqueue' from 'trio._core._run'
python-urllib3 | ImportError: cannot import name 'current_kqueue' from 'trio._core._run'
python-decorator | cannot import name 'current_kqueue' from 'trio._core._run'

Thanks in advance
Marco Atzeri (Cygwin Python package maintainer)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions