From 80a8909050eaf808f9f97a24ca44d8b43c4ca458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20L=C3=A4ndle?= <969523+alaendle@users.noreply.github.com> Date: Fri, 10 Oct 2025 20:54:41 +0200 Subject: [PATCH] Unrestrict `generic-lens` (closes #7828). --- build-constraints.yaml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/build-constraints.yaml b/build-constraints.yaml index d890ac6e..f0a18527 100644 --- a/build-constraints.yaml +++ b/build-constraints.yaml @@ -6176,8 +6176,7 @@ packages: - HMock < 0 # tried HMock-0.5.1.2, but its *library* requires data-default >=0.7.1 && < 0.8 and the snapshot contains data-default-0.8.0.1 - HMock < 0 # tried HMock-0.5.1.2, but its *library* requires extra >=1.7.9 && < 1.8 and the snapshot contains extra-1.8 - HMock < 0 # tried HMock-0.5.1.2, but its *library* requires template-haskell >=2.14 && < 2.22 and the snapshot contains template-haskell-2.23.0.0 - - Hastructure < 0 # tried Hastructure-0.50.4, but its *library* requires the disabled package: openapi3 - - Hastructure < 0 # tried Hastructure-0.50.4, but its *library* requires the disabled package: swagger2 + - Hastructure < 0 # tried Hastructure-0.50.4, but its *library* requires generic-lens >=2.2.2 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - Hoed < 0 # tried Hoed-0.5.1, but its *library* requires the disabled package: regex-tdfa-text - JuicyPixels-blp < 0 # tried JuicyPixels-blp-0.2.0.0, but its *executable* requires filepath >=1.4 && < 1.5 and the snapshot contains filepath-1.5.4.0 - JuicyPixels-blp < 0 # tried JuicyPixels-blp-0.2.0.0, but its *library* requires attoparsec >=0.12 && < 0.14 and the snapshot contains attoparsec-0.14.4 @@ -6653,6 +6652,7 @@ packages: - cabal-install-parsers < 0 # tried cabal-install-parsers-0.6.2, but its *library* requires Cabal-syntax ^>=3.12.0.0 and the snapshot contains Cabal-syntax-3.14.1.0 - cabal-install-parsers < 0 # tried cabal-install-parsers-0.6.2, but its *library* requires base >=4.12 && < 4.21 and the snapshot contains base-4.21.0.0 - cabal-install-parsers < 0 # tried cabal-install-parsers-0.6.2, but its *library* requires time ^>=1.8.0.2 || ^>=1.9.3 || ^>=1.11.1.1 || ^>=1.12.2 and the snapshot contains time-1.14 + - capability < 0 # tried capability-0.5.0.1, but its *library* requires generic-lens >=2.0 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - cardano-coin-selection < 0 # tried cardano-coin-selection-1.0.1, but its *library* requires the disabled package: cryptonite - caster < 0 # tried caster-0.0.3.0, but its *library* requires the disabled package: fast-builder - cheapskate < 0 # tried cheapskate-0.1.1.2, but its *library* requires containers >=0.4 && < 0.7 and the snapshot contains containers-0.7 @@ -7088,33 +7088,42 @@ packages: - hsyslog-udp < 0 # tried hsyslog-udp-0.2.5, but its *library* requires text < 1.3 and the snapshot contains text-2.1.2 - hsyslog-udp < 0 # tried hsyslog-udp-0.2.5, but its *library* requires time < 1.10 and the snapshot contains time-1.14 - hsyslog-udp < 0 # tried hsyslog-udp-0.2.5, but its *library* requires unix < 2.8 and the snapshot contains unix-2.8.6.0 + - hw-balancedparens < 0 # tried hw-balancedparens-0.4.1.3, but its *executable* requires generic-lens >=1.2.0.0 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - hw-balancedparens < 0 # tried hw-balancedparens-0.4.1.3, but its *executable* requires optparse-applicative >=0.14 && < 0.19 and the snapshot contains optparse-applicative-0.19.0.0 - hw-conduit < 0 # tried hw-conduit-0.2.1.1, but its *library* requires bytestring >=0.9 && < 0.12 and the snapshot contains bytestring-0.12.2.0 - hw-conduit < 0 # tried hw-conduit-0.2.1.1, but its *library* requires time >=1.4 && < 1.13 and the snapshot contains time-1.14 + - hw-dsv < 0 # tried hw-dsv-0.4.1.2, but its *executable* requires generic-lens >=2.2 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - hw-dsv < 0 # tried hw-dsv-0.4.1.2, but its *executable* requires hedgehog >=0.5 && < 1.5 and the snapshot contains hedgehog-1.7 - hw-dsv < 0 # tried hw-dsv-0.4.1.2, but its *executable* requires optparse-applicative >=0.13 && < 0.19 and the snapshot contains optparse-applicative-0.19.0.0 - hw-dsv < 0 # tried hw-dsv-0.4.1.2, but its *executable* requires the disabled package: hw-ip - hw-eliasfano < 0 # tried hw-eliasfano-0.1.2.1, but its *executable* requires bytestring >=0.10.8.2 && < 0.12 and the snapshot contains bytestring-0.12.2.0 + - hw-eliasfano < 0 # tried hw-eliasfano-0.1.2.1, but its *executable* requires generic-lens >=2.2 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - hw-eliasfano < 0 # tried hw-eliasfano-0.1.2.1, but its *executable* requires optparse-applicative >=0.14 && < 0.18 and the snapshot contains optparse-applicative-0.19.0.0 - hw-eliasfano < 0 # tried hw-eliasfano-0.1.2.1, but its *executable* requires resourcet >=1.2.2 && < 1.3 and the snapshot contains resourcet-1.3.0 - hw-eliasfano < 0 # tried hw-eliasfano-0.1.2.1, but its *library* requires deepseq >=1.4 && < 1.5 and the snapshot contains deepseq-1.5.1.0 - hw-fingertree < 0 # tried hw-fingertree-0.1.2.1, but its *library* requires deepseq >=1.4 && < 1.5 and the snapshot contains deepseq-1.5.1.0 - hw-fingertree-strict < 0 # tried hw-fingertree-strict-0.1.2.1, but its *library* requires deepseq >=1.4 && < 1.5 and the snapshot contains deepseq-1.5.1.0 - hw-hspec-hedgehog < 0 # tried hw-hspec-hedgehog-0.1.1.1, but its *library* requires hedgehog >=0.5 && < 1.5 and the snapshot contains hedgehog-1.7 + - hw-json < 0 # tried hw-json-1.3.3.1, but its *executable* requires generic-lens >=1.2.0.1 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - hw-json < 0 # tried hw-json-1.3.3.1, but its *executable* requires optparse-applicative >=0.14 && < 0.19 and the snapshot contains optparse-applicative-0.19.0.0 - hw-json < 0 # tried hw-json-1.3.3.1, but its *executable* requires the disabled package: hw-json-simd + - hw-json-simple-cursor < 0 # tried hw-json-simple-cursor-0.1.1.1, but its *executable* requires generic-lens >=2.2.0.0 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - hw-json-simple-cursor < 0 # tried hw-json-simple-cursor-0.1.1.1, but its *executable* requires optparse-applicative >=0.14 && < 0.19 and the snapshot contains optparse-applicative-0.19.0.0 - hw-json-simple-cursor < 0 # tried hw-json-simple-cursor-0.1.1.1, but its *executable* requires the disabled package: hw-json-simd + - hw-json-standard-cursor < 0 # tried hw-json-standard-cursor-0.2.3.2, but its *executable* requires generic-lens >=2.2.0.0 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - hw-json-standard-cursor < 0 # tried hw-json-standard-cursor-0.2.3.2, but its *executable* requires optparse-applicative >=0.14 && < 0.19 and the snapshot contains optparse-applicative-0.19.0.0 - hw-json-standard-cursor < 0 # tried hw-json-standard-cursor-0.2.3.2, but its *library* requires the disabled package: hw-json-simd + - hw-packed-vector < 0 # tried hw-packed-vector-0.2.1.1, but its *executable* requires generic-lens >=1.1.0.0 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - hw-packed-vector < 0 # tried hw-packed-vector-0.2.1.1, but its *executable* requires optparse-applicative >=0.14 && < 0.18 and the snapshot contains optparse-applicative-0.19.0.0 - hw-packed-vector < 0 # tried hw-packed-vector-0.2.1.1, but its *library* requires bytestring >=0.10.8.2 && < 0.12 and the snapshot contains bytestring-0.12.2.0 - hw-packed-vector < 0 # tried hw-packed-vector-0.2.1.1, but its *library* requires deepseq >=1.4 && < 1.5 and the snapshot contains deepseq-1.5.1.0 + - hw-rankselect < 0 # tried hw-rankselect-0.13.4.1, but its *executable* requires generic-lens >=1.2.0.1 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - hw-rankselect < 0 # tried hw-rankselect-0.13.4.1, but its *executable* requires optparse-applicative >=0.11 && < 0.19 and the snapshot contains optparse-applicative-0.19.0.0 - hw-simd < 0 # tried hw-simd-0.1.2.2, but its *library* requires the disabled package: hw-rankselect - hw-streams < 0 # tried hw-streams-0.0.1.1, but its *library* requires ghc-prim >=0.4 && < 0.12 and the snapshot contains ghc-prim-0.13.0 - hw-succinct < 0 # tried hw-succinct-0.1.0.1, but its *library* requires the disabled package: hw-balancedparens - hw-succinct < 0 # tried hw-succinct-0.1.0.1, but its *library* requires the disabled package: hw-rankselect + - hw-xml < 0 # tried hw-xml-0.5.1.2, but its *executable* requires generic-lens >=2.2 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - hw-xml < 0 # tried hw-xml-0.5.1.2, but its *executable* requires optparse-applicative >=0.15.1.0 && < 0.19 and the snapshot contains optparse-applicative-0.19.0.0 - ihaskell < 0 # tried ihaskell-0.12.0.0, but its *library* requires ghc >=8.4 && < 9.11 and the snapshot contains ghc-9.12.2 - ihaskell-hvega < 0 # tried ihaskell-hvega-0.5.0.6, but its *library* requires the disabled package: ihaskell @@ -7168,7 +7177,7 @@ packages: - irc-dcc < 0 # tried irc-dcc-2.0.1, but its *library* requires network >=2.6.2.1 && < 2.8 and the snapshot contains network-3.2.8.0 - irc-dcc < 0 # tried irc-dcc-2.0.1, but its *library* requires path >=0.5.7 && < 0.7 and the snapshot contains path-0.9.6 - irc-dcc < 0 # tried irc-dcc-2.0.1, but its *library* requires transformers >=0.4.2.0 && < 0.6 and the snapshot contains transformers-0.6.1.2 - - it-has < 0 # tried it-has-0.2.0.0, but its *library* requires generic-lens >=2.0.0.0 && < =2.0.0.0 and the snapshot contains generic-lens-2.2.2.0 + - it-has < 0 # tried it-has-0.2.0.0, but its *library* requires generic-lens >=2.0.0.0 && < =2.0.0.0 and the snapshot contains generic-lens-2.3.0.0 - iterable < 0 # tried iterable-3.0, but its *library* requires mtl < 2.3 and the snapshot contains mtl-2.3.1 - ixset < 0 # tried ixset-1.1.1.2, but its *library* requires the disabled package: syb-with-class - ixset-typed < 0 # tried ixset-typed-0.5.1.0, but its *library* requires template-haskell >=2.8 && < 2.21 and the snapshot contains template-haskell-2.23.0.0 @@ -7568,7 +7577,7 @@ packages: - redact < 0 # tried redact-0.6.0.0, but its *executable* requires optparse-applicative >=0.18 && < 0.19 and the snapshot contains optparse-applicative-0.19.0.0 - redis-io < 0 # tried redis-io-1.1.0, but its *library* requires the disabled package: tinylog - reform-blaze < 0 # tried reform-blaze-0.2.4.4, but its *library* requires text >=0.11 && < 2.1 and the snapshot contains text-2.1.2 - - reform-hamlet < 0 # tried reform-hamlet-0.0.5.3, but its *library* requires shakespeare >=2.0 && < 2.1 and the snapshot contains shakespeare-2.1.0.1 + - reform-hamlet < 0 # tried reform-hamlet-0.0.5.3, but its *library* requires shakespeare >=2.0 && < 2.1 and the snapshot contains shakespeare-2.1.7.1 - reform-hamlet < 0 # tried reform-hamlet-0.0.5.3, but its *library* requires text >=0.11 && < 1.3 and the snapshot contains text-2.1.2 - reform-hsp < 0 # tried reform-hsp-0.2.7.2, but its *library* requires text >=0.11 && < 1.3 and the snapshot contains text-2.1.2 - reform-hsp < 0 # tried reform-hsp-0.2.7.2, but its *library* requires the disabled package: hsp @@ -8019,11 +8028,6 @@ packages: # https://github.com/commercialhaskell/stackage/issues/7822 - jose < 0.12 - # https://github.com/commercialhaskell/stackage/issues/7828 - - generic-lens < 2.3 - - generic-lens-core < 2.3 - - generic-optics < 2.3 - # https://github.com/commercialhaskell/stackage/issues/7838 - tar < 0.7.0.0 - directory-ospath-streaming < 0.3 @@ -8827,6 +8831,7 @@ skipped-tests: - aura # tried aura-3.2.10, but its *test-suite* requires tasty >=0.11 && < 1.5 and the snapshot contains tasty-1.5.3 - automaton # tried automaton-1.5, but its *test-suite* requires QuickCheck >=2.14 && < 2.16 and the snapshot contains QuickCheck-2.16.0.0 - avro # tried avro-0.6.2.1, but its *test-suite* requires doctest >=0.16.2 && < 0.23 and the snapshot contains doctest-0.24.2 + - avro # tried avro-0.6.2.1, but its *test-suite* requires generic-lens >=1.2 && < 2.3 and the snapshot contains generic-lens-2.3.0.0 - aws-cloudfront-signed-cookies # tried aws-cloudfront-signed-cookies-0.2.0.13, but its *test-suite* requires hedgehog ^>=1.4 and the snapshot contains hedgehog-1.7 - barrier # tried barrier-0.1.1, but its *test-suite* requires tasty >=0.10 && < 1.5 and the snapshot contains tasty-1.5.3 - base32 # tried base32-0.4, but its *test-suite* requires bytestring ^>=0.11 and the snapshot contains bytestring-0.12.2.0