Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pygobject pygobject
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 307
    • Issues 307
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 33
    • Merge requests 33
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • pygobjectpygobject
  • Merge requests
  • !206

tests: Support CPython 3.8 on Windows

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Christoph Reiter requested to merge creiter/pygobject:tests-add_dll_directory into master Apr 09, 2022
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Python 3.8 no longer uses PATH for searching DLLs so we have to add them manually.

Note that unlike PATH add_dll_directory() has no defined order, so if there are two same DLLs in PATH we might get a random one.

This only makes sure that 'setup.py test' and 'pytest' continue working. If you include pygobject manually you have to call os.add_dll_directory() yourself with the location of the DLLs you ship.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: tests-add_dll_directory