Comments (13)
Almost: it still complaints about random (>=1.0.1.1 && <1.2). See #56
from missingh.
The problem here is that you already have stuff in your ghc environment that forces random to be 1.2.0, however that conflicts with the constraints on missingh. So the issue is not that missingh cannot build with ghc 9.0.1, but rather that it should have its bounds on random bumped to build with other things as well.
E.g. with ghc 9.0.1 this works for me cabal repl --build-depends=MissingH
from missingh.
I think it would be good to check how this package is affected by the GHC optimization changes around withForeignPtr
(used for example in hBlockCopy
). Is the performance significantly reduced? Should unsafeWithForeignPtr
be used instead?
from missingh.
Please make available as soon as possible on GHC 9.
You can always later release a faster version.
from missingh.
@pjljvandelaar MissingH already works for GHC 9 since a hackage revision was made by a trustee: haskell-infra/hackage-trustees#306
from missingh.
Ok, I see why it would be useful to have another bump to have it working on Stackage Nightly. But as I mentioned, strictly speaking, it does work on GHC 9. Just wanted to point that out. Try e.g.:
cabal install MissingH --lib
from missingh.
Ok, I see why it would be useful to have another bump to have it working on Stackage Nightly. But as I mentioned, strictly speaking, it does work on GHC 9. Just wanted to point that out. Try e.g.:
cabal install MissingH --lib
This still does not work.. Here's me running it, having just done a cabal update
:
$ cabal install --lib MissingH
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: MissingH-1.4.3.0 (user goal)
[__1] trying: base-4.15.0.0/installed-4.15.0.0 (user goal)
[__2] next goal: process (user goal)
[__2] rejecting: process-1.6.12.0 (constraint from user target requires
==1.6.11.0)
[__2] trying: process-1.6.11.0/installed-1.6.11.0
[__3] next goal: random (user goal)
[__3] rejecting: random-1.2.0 (conflict: MissingH => random>=1.0.1.1 && <1.2)
[__3] rejecting: random-1.1, random-1.0.1.1, random-1.0.1.0, random-1.0.0.3,
random-1.0.0.2, random-1.0.0.1, random-1.0.0.0, random-1.0.1.3 (constraint
from user target requires ==1.2.0)
[__3] fail (backjumping, conflict set: MissingH, random)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, haskell98, process, MissingH,
random
Try running with --minimize-conflict-set to improve the error message.
So as per @pjljvandelaar 's comment, there's a complaint about random
.
from missingh.
why argue instead of bumping version to bypass the issue?
I hit it also and now I have to do fork. :(
from missingh.
If the change is only to bounds, you can work around this locally with --allow-newer (https://cabal.readthedocs.io/en/3.4/cabal-project.html#cfg-field-allow-newer). If your testing reveals this does work with just a bump to random, then please open a PR here for a bump to random (and also, because missingh is not very actively maintained, file an issue with the trustees: https://github.com/haskell-infra/hackage-trustees/issues).
from missingh.
For the record, nobody argued against a bump to random. This issue was just not about that, it was about a bump to base, which was done on hackage already.
from missingh.
For the record, time
is also used with an restrictive upper bound:
MissingH-1.4.3.0$ cabal outdated
Outdated dependencies:
random >=1.0.1.1 && <1.2 (latest: 1.2.0)
time >=1.4 && <1.10 (latest: 1.12)
from missingh.
If somebody manages to take over this library, please note that the suggested base bound wouldn't be sufficient to support GHC 9.2. So if it is bumped, may as well bump even further.
from missingh.
I revised the bounds to allow GHC 9.2: https://hackage.haskell.org/package/MissingH-1.4.3.0/revisions/
from missingh.
Related Issues (20)
- Package dependency for tests 'testpack' is no longer maintained HOT 2
- Can Data.String.Utils be marked "Safe"? HOT 2
- ambiguous import HOT 1
- GHC 8.0.1-rc4 build failure HOT 8
- build on windows fails HOT 1
- split is inefficient; can be sped up over 2x for single character delimiter HOT 9
- Drop splitWS in favor of words from Prelude HOT 2
- MissingH 1.4.0.1 and parsec 3.1.12.0 are not compatible HOT 1
- startswith should have its arguments flipped HOT 1
- Incompatible with LTS nightly (GHC 8.6.1)? HOT 17
- MissingH 1.4.1.0 was deprecated? HOT 3
- Compilation error with GHC 8.6.4, 8.6.5 HOT 3
- Release a new version compatible with GHC 8.8.2 HOT 4
- Drop regex dependency? HOT 4
- random 1.2.0 compatibility HOT 4
- Version 1.5.0.0 cannot be built on windows HOT 2
- ghc-9.4.3 haddock crashes in Stackage Nightly HOT 3
- Build failure with unix-2.8 HOT 3
- /etc/mime.types: hIsEOF: illegal operation (handle is closed) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from missingh.