Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-criterion for openSUSE:Factory checked in at 2023-08-18 19:28:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-criterion (Old) and /work/SRC/openSUSE:Factory/.ghc-criterion.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-criterion" Fri Aug 18 19:28:01 2023 rev:10 rq:1104406 version:1.6.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-criterion/ghc-criterion.changes 2023-07-05 15:31:56.211056393 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-criterion.new.1766/ghc-criterion.changes 2023-08-18 19:28:13.791301990 +0200 @@ -1,0 +2,8 @@ +Tue Aug 8 11:17:53 UTC 2023 - Peter Simons <psim...@suse.com> + +- Update criterion to version 1.6.3.0. + 1.6.3.0 + + * Remove a use of the partial `head` function within `criterion`. + +------------------------------------------------------------------- Old: ---- criterion-1.6.2.0.tar.gz criterion.cabal New: ---- criterion-1.6.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-criterion.spec ++++++ --- /var/tmp/diff_new_pack.T62nEa/_old 2023-08-18 19:28:14.635303503 +0200 +++ /var/tmp/diff_new_pack.T62nEa/_new 2023-08-18 19:28:14.647303525 +0200 @@ -20,13 +20,12 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.6.2.0 +Version: 1.6.3.0 Release: 0 Summary: Robust, reliable performance measurement and analysis License: BSD-2-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Glob-devel @@ -147,7 +146,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ criterion-1.6.2.0.tar.gz -> criterion-1.6.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criterion-1.6.2.0/Criterion/Analysis.hs new/criterion-1.6.3.0/Criterion/Analysis.hs --- old/criterion-1.6.2.0/Criterion/Analysis.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/criterion-1.6.3.0/Criterion/Analysis.hs 2001-09-09 03:46:40.000000000 +0200 @@ -40,6 +40,7 @@ import Criterion.Monad (Criterion, getGen) import Criterion.Types import Data.Int (Int64) +import Data.List.NonEmpty (NonEmpty(..)) import Data.Maybe (fromJust) import Prelude () import Prelude.Compat @@ -52,6 +53,7 @@ import Statistics.Types (Sample) import System.Random.MWC (GenIO) import qualified Data.List as List +import qualified Data.List.NonEmpty as NE import qualified Data.Map as Map import qualified Data.Vector as V import qualified Data.Vector.Generic as G @@ -207,9 +209,9 @@ , regRSquare = r2 } -singleton :: [a] -> Bool -singleton [_] = True -singleton _ = False +singleton :: NonEmpty a -> Bool +singleton (_ :| []) = True +singleton _ = False -- | Given a list of accessor names (see 'measureKeys'), return either -- a mapping from accessor name to function or an error message if @@ -233,8 +235,8 @@ when (null predNames) $ Left "no predictors specified" let names = respName:predNames - dups = map head . filter (not . singleton) . - List.group . List.sort $ names + dups = map NE.head . List.filter (not . singleton) . + NE.group . List.sort $ names unless (null dups) $ Left $ "duplicated metric " ++ renderNames dups resolveAccessors names diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criterion-1.6.2.0/changelog.md new/criterion-1.6.3.0/changelog.md --- old/criterion-1.6.2.0/changelog.md 2001-09-09 03:46:40.000000000 +0200 +++ new/criterion-1.6.3.0/changelog.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,7 @@ +1.6.3.0 + +* Remove a use of the partial `head` function within `criterion`. + 1.6.2.0 * Require `optparse-applicative-0.18.*` as the minimum and add an explicit diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/criterion-1.6.2.0/criterion.cabal new/criterion-1.6.3.0/criterion.cabal --- old/criterion-1.6.2.0/criterion.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/criterion-1.6.3.0/criterion.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,5 @@ name: criterion -version: 1.6.2.0 +version: 1.6.3.0 synopsis: Robust, reliable performance measurement and analysis license: BSD3 license-file: LICENSE @@ -85,7 +85,7 @@ build-depends: -- TODO: Eventually, we should bump the lower version bounds to >=2 so that -- we can remove some CPP in Criterion.Report. See #247. - aeson >= 1 && < 2.2, + aeson >= 1 && < 2.3, base >= 4.5 && < 5, base-compat-batteries >= 0.10 && < 0.14, binary >= 0.5.1.0,