haskell-infra / hackage-trustees

Issue tracker for Hackage maintainance and trustee operations
https://hackage.haskell.org/packages/trustees/
42 stars 7 forks source link

Label vincenthz packages as deprecated on Hackage #396

Open Kleidukos opened 4 months ago

Kleidukos commented 4 months ago
(non-exhaustive) List of packages * foundation * basement * memory * cryptonite in favour of crypton * cryptohash-cryptoapi * gauge * git * language-java * connection * hit * hourglass * professor * asn1 * socks * libgit * cabal-db * securemem * packer * siphash * unix-memory * pem * crypto-pubkey-types * fileformat * cstruct * byteable
phadej commented 4 months ago

e.g. tls depends on asn1-types which depends on hourglass. tls also depends on memory directly. crypton depends on memory and basement.

I feel it's better to do nothing for most of these packages.

The deprecation cryptonite in favour of crypton makes sense. In particular there is the superseding package. But for something like asn1-* family of packages there simply aren't alternatives, AFAIK.


TL;DR, they are not deprecated, they are abandoned. That is not the same.

Kleidukos commented 4 months ago

Understandable

andreasabel commented 4 months ago

basement and foundation have been recently refreshed on Hackage (June 2023) and have @snoyberg listed as (Hackage) maintainer, so they should be good for a while.

Bodigrim commented 4 months ago

I suggest we mark:

I'm not aware of any easy replacement for memory, and the rest of Vincent's legacy is not that widely used.

ysangkok commented 4 months ago

Would it be possible for trustees to swap out dependencies on connection for crypton-connection? Or is that not permitted?

In particular, I am thinking of:

phadej commented 4 months ago

Would it be possible for trustees to swap out dependencies

No, revisions cannot change the dependencies; only their version ranges.

Bodigrim commented 2 months ago

For the reference, gauge is broken on aarch64 with

cbits/cycles.c:55:2: error:
     error: Unsupported OS/architecture/compiler!
   |
55 | #error Unsupported OS/architecture/compiler!
   |  ^
#error Unsupported OS/architecture/compiler!

and on any arch with GHC 9.10 because of vendored-in math-functions:

math-functions/Numeric/Sum.hs:138:19: error: [GHC-87543]
    Ambiguous occurrence ‘foldl'’.
    It could refer to
       either ‘Prelude.foldl'’,
              imported from ‘Prelude’ at math-functions/Numeric/Sum.hs:25:8-18
              (and originally defined in ‘ghc-internal-9.1001.0:GHC.Internal.Data.Foldable’),
           or ‘Data.Vector.Generic.foldl'’,
              imported from ‘Data.Vector.Generic’ at math-functions/Numeric/Sum.hs:35:41-46.
    |
138 | sumVector f = f . foldl' add zero
    |

And cryptonite has several unmitigated issues such as https://github.com/kazu-yamamoto/crypton/issues/22 and https://github.com/haskell-crypto/cryptonite/pull/374 (aka https://github.com/kazu-yamamoto/crypton/pull/1).