Skip to content

directory-1.3.8.0 violates the Haskell PVP #147

@andreasabel

Description

@andreasabel

From the directory-1.3.8.0 CHANGELOG:

Modules in directory are no longer considered Safe because the System.OsPath dependency is no longer Safe.

This means that all packages that use directory < 1.4 and import safe System.Directory are broken.

In the wild, this looks like this:

Building library for MissingH-1.5.0.1..
...
src/Network/Email/Sendmail.hs:35:1: error:
    System.Directory: Can't be safely imported!
    The module itself isn't safe.
   |
35 | import safe System.Directory
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
...
Error: cabal: Failed to build MissingH-1.5.0.1

Standard action path:

  • deprecate directory-1.3.8.0 on hackage
  • revise it to become unbuildable
  • release as directory-1.4

ATTN: @Rufflewind

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: (5) investigationThis is a discussion or investigation, without necessarily a clear objective.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions