Comments (9)
@magthe I have published a new revision of kubernetes-client-0.2.0.0
on hackage to unblock you until we decide how to deal with upper bounds. Thank you for bringing our attention to it 😄
from haskell.
One way to deal with it in the future could be to
- Generate without upper bounds and upload to Hackages
- When finding that a new version of a dependency breaks the build, add an upper bound on Hackage only (via the "edit package information" link on the package's Hackage page)
- Make the necessary changes upstream, and start over from 1.
from haskell.
from haskell.
This happened due to generating bounds with stack while uploading to hackage. So, if you run stack sdist --pvp-bounds both
, it would generate a cabal file with time ==1.8.*
. In general, I think upper bounds are fairly annoying because of issues like this.
As for updating hackage, there was a recent merge, so I was going to upload another version anyway. Maybe this time I can just not generate upper bounds while uploading.
WDYT @jonschoning @guoshimin?
from haskell.
I think it may make more sense to have the bounds be the same as the package.yaml. If there's a need to include an upper bound, lets include that in package.yaml as well. Personally I tend to adjust upper bounds manually so I don't have much experience with how --pvp-bounds
generates the values.
from haskell.
Using --pvp-bounds
to generate upper bounds just puts upper bound to be less than the next major version (according to PVP, not semver). This is the safest choice according to PVP.
We could just put the upper bounds manually, but I am not sure how would we choose a good upper bound for a given dependency. How do you do it?
Since, I don't have a way, I just remove all upper bounds until something breaks. When I face such problem, I can either fix the code to work with both version or I can just put an upper bound depending on effort of it.
If we put both of our packages on stackage, we could get notified every time we have a problem with one of our dependencies.
from haskell.
@jonschoning Is it ok if we do it as @magthe says?
from haskell.
I also published the the latest version. I will close this issue now.
/close
from haskell.
@akshaymankar: Closing this issue.
In response to this:
I also published the the latest version. I will close this issue now.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from haskell.
Related Issues (20)
- client update may be broken HOT 7
- Error with DateTime Format
- Should we make a release? HOT 10
- Proposal: Default to openssl HOT 18
- InternalException - certificate unknown with `mkKubeClientConfig` HOT 4
- Examples HOT 7
- Clean up outside collaborators HOT 2
- Incorrectly generated query strings (that rely on + not being urlencoded) HOT 21
- in-cluster config builder does not work properly in an ipv6 cluster HOT 14
- Sometimes k8s gives back Null and the client dies HOT 2
- Update to newer LTS? HOT 8
- Issue with (-&-) optional argument operator and Command optional argument for exec HOT 18
- does not compile HOT 3
- Strategic JSON patch no longer supported? HOT 3
- Wrong return type in deleteNamespacedPersistentVolumeClaim HOT 6
- ssl error when specify master address as IP address in config file HOT 15
- kubernetes-client seems broken in both stack and nix-env. Any tips on installation? HOT 2
- Version on hackage is old HOT 6
- Possible alternative to configQueryExtraUnreserved option? HOT 16
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 haskell.