Comments (10)
Could we revise it to make the bootstrap flag on by default? If so, that should also make it succeed.
from happy.
I'd welcome either of these. The release of happy 1.21 broke my CI, and it wasn't too easy to discover the cause.
from happy.
Errors
Cannot change the default of a manual flag
No dice
from happy.
The bootstrap build does not support all features, so that might have broken some builds as well. What about the base < 0
trick, would it work?
My understanding is that cabal
won’t pick happy-1.21.0
anyway because it’s marked as deprecated, and the remaining build problems are from stack
users.
from happy.
What about the base < 0 trick, would it work?
Yes, this would make the happy-1.21.0 unbuildable, and prune it from the cabal
constraint solving process.
This was my suggestion.
Seems like changing the flag value would warrant a release of 1.21.0.1 or 1.21.1.
from happy.
Yes, this would make the happy-1.21.0 unbuildable, and prune it from the cabal constraint solving process.
But it’s marked as deprecated, shouldn’t it already be pruned?
from happy.
There are exceptions:
If all the available versions of a package are non-preferred or deprecated, cabal-install will treat this the same as if none of them are.
Btw, it does install fine:
$ cabal install happy-1.21.0
Resolving dependencies...
Build profile: -w ghc-9.2.1 -O1
In order, the following will be built (use -v for more details):
- happy-1.21.0 (exe:happy) (requires build)
Configuring executable 'happy' for happy-1.21.0..
Preprocessing executable 'happy' for happy-1.21.0..
Building executable 'happy' for happy-1.21.0..
[ 1 of 23] Compiling AbsSyn
((SUCCEEDS))
from happy.
deprecation is indeed a preference, solver can still pick it if it's forced to. base <0
would be a hard (unsatisfiable) constraint.
TL;DR deprecations on Hackage do very little.
IMO not worth using at all
(There are exceptions, but they could be pruned by being able to do a bit more precise revisions or situations like in haskell-infra/hackage-trustees#213).
from happy.
OK, I revised it to specify base <0
from happy.
See https://hackage.haskell.org/package/happy-1.21.0/revisions/
from happy.
Related Issues (20)
- Old TODO
- Version 1.21.0: The program 'happy' is required but it could not be found HOT 8
- Not-unreasonable grammar takes 17min to compile with GHC2021 HOT 3
- Is there a way to revise broken build-plans for older `happy`s? HOT 1
- website (bad link) HOT 2
- inclarity in threaded lexer docs leads to confusing failure HOT 3
- Documentation: Constraints on Parser Monad
- Implement "Principled parsing for indentation-sensitive languages" HOT 5
- Build failures with mtl-2.3 HOT 7
- Upload packages to hackage HOT 5
- Split up CLI into packages
- Incremental parsing
- Internal Happy errors are not helpful
- Idea: Backend for generating railroad diagrams HOT 3
- Please release 1.20.1 from release-1.20 branch HOT 17
- Build failure in happy-1.20.1 HOT 23
- Support LLVM >=14 HOT 1
- haskell-src-exts: Name mismatch in signature and definition HOT 2
- Readthedocs.org requires a config file for the happy documentation
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 happy.