Comments (7)
Data.ByteString.Lex.Double
was removed in version v0.5.
Taking a look at hedis, it looks like they've required bytestring-lexing>=0.5 since hedis-0.6.7; and hedis-0.6.7 should compile on GHC 7.6.3–8.2.2 (according to the version restrictions on base). Is there any particular reason you're needing to build such an old version of hedis?
from bytestring-lexing.
Actually I simply noticed the dependency failure at https://matrix.hackage.haskell.org/#/package/hedis, and wondered what it was. It would be nice to fix of course, but it doesn't seem particularly likely that other people will encounter it in their builds.
from bytestring-lexing.
I get similar errors with v0.3.0, v0.4.0, v0.4.2 and v0.4.3.
v0.4.3.1 seems to fix the issue by requiring alex >= 3.1.3
with GHC >= 7.8, and by removing Data/ByteString/Lex/Double.hs
and Data/ByteString/Lex/Lazy/Double.hs
: http://hdiff.luite.com/cgit/bytestring-lexing/diff?id=0.4.3.1&id2=0.4.3
Since Hackage revisions can't remove these files and also cannot add conditional constraints like the one used in v0.4.3.1, I guess the best that could be done is to constrain these versions to base < 4.7
, i.e. GHC < 7.8. This may also remove some good build plans, such as those that were apparently used in the Hackage Matrix builds, but which I haven't been able to reproduce.
Please let me know if you would like these constraints to be added. Otherwise feel free to close the issue.
from bytestring-lexing.
Since hedis is the one failing rather than bytestring-lexing, wouldn't it make more sense to revise hedis rather than bytestring-lexing? It'd be a shame to cause bytestring-lexing 0.3.0–0.4.3.0 to fail on GHC 7.8–8.0 when it's currently succeeding... Or are these successes the ones you can't replicate? If so, I do still have GHC 7.10.1 and 8.0.2 installed, so I could try my hand at replicating it.
I don't know when/how the matrix runs are re-executed, but the bytestring-lexing metadata has been edited a number of times, so I wonder if that might be contributing to why bytestring-lexing succeeds on its own whereas fails in conjunction with hedis?
from bytestring-lexing.
@wrengr It's bytestring-lexing
that fails to build. That's why Hackage Matrix reports the status as FAIL (deps)
and not FAIL (pkg)
. For example, I expect that you could reproduce the failure with
cabal install bytestring-lexing-0.4.0 -w ghc-8.0.2
from bytestring-lexing.
D'oh, of course! Yeah, I guess, go ahead and add the constraint
from bytestring-lexing.
Actually I'm still too confused about the conditions under which the build fails to feel comfortable to make revisions in this case. We can revisit the issue if there's evidence that these build failures actually cause harm.
from bytestring-lexing.
Related Issues (13)
- Get TravisCI to work
- Move benchmarks to the main cabal file
- Native support for bytestring >=0.11
- Performance regression in packDecimal/numDecimalDigits HOT 1
- Add fast lexers for Integer and Natural
- Add support for partial input HOT 5
- CI failing for GHC 9.0.1 HOT 3
- Support GHC-9.6 HOT 1
- cannot run benchmarks HOT 1
- Update instructions for running tests HOT 1
- Consider integrating @juspay's fork
- Improve coverage
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 bytestring-lexing.