Skip to content

Figure out drive handling for Windows #116

@jtniehof

Description

@jtniehof

I'm starting on Windows support (just getting the unit tests going) and running into the fact that our test databases are Unix. It's not all bad, since we sort of decided the pathing was going to be Posix and a lot of the code automatically translates it to Windows pathing. But there's no handling of drive letters. I think we're probably just getting the current drive as an assumption, which maybe isn't bad, but probably should make sure that directories specified as absolute paths can have drives specified.

Alternatives

Not having Windows support, or always assuming everything is on the current drive, neither of which is deeply appealing.

OS, Python version, and dependency version information:

Windows-10-10.0.19042-SP0
sys.version_info(major=3, minor=9, micro=5, releaselevel='final', serial=0)
sqlalchemy=1.4.27

Version of dbprocessing

Current github master (fb95a08)

Closure condition

Close when the handling (and specification) of drive letters is documented and tested. Implementation should be not too complicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsIssues specific to running on WindowsenhancementNew feature or feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions