Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libpqxx: 7.7.5 -> 7.9.2 #345941

Closed
wants to merge 1 commit into from
Closed

Conversation

superherointj
Copy link
Contributor

@superherointj superherointj commented Oct 2, 2024

libpqxx: 7.7.5 -> 7.9.2

Release: https://github.com/jtv/libpqxx/releases/tag/7.9.2

  • split development output
  • enable strictDeps
  • exclude postgres server files (uses lib/dev output instead)
  • migrate sha256 to hash
  • meta: add changelog, downloadPage
  • pkgs/by-name migration

Closes #279321

Notes on downstream breakage

All failures are accounted for.

Status

This PR is ready for review/merge.

@superherointj superherointj marked this pull request as draft October 2, 2024 14:40
@superherointj superherointj force-pushed the libpqxx-7.9.2 branch 3 times, most recently from bed0888 to 16a84d0 Compare October 2, 2024 16:22
@superherointj superherointj changed the title [wip] libpqxx: 7.7.5 -> 7.9.2 libpqxx: 7.7.5 -> 7.9.2 Oct 2, 2024
@superherointj superherointj marked this pull request as ready for review October 2, 2024 17:00
@superherointj superherointj force-pushed the libpqxx-7.9.2 branch 2 times, most recently from 2a1e028 to fa502ae Compare October 2, 2024 19:13
@superherointj superherointj marked this pull request as draft October 2, 2024 21:52
@autra
Copy link
Contributor

autra commented Oct 3, 2024

Did you rebase on last master? Some of these packages have been recently fixed (last week or the week before).

@superherointj superherointj marked this pull request as ready for review October 3, 2024 08:30
@hummeltech
Copy link
Contributor

That error seems to be related to the SCons version:
SCons/scons@2d5e3a4

@superherointj superherointj force-pushed the libpqxx-7.9.2 branch 2 times, most recently from 2c64995 to f722da5 Compare October 3, 2024 15:38
@hummeltech
Copy link
Contributor

hummeltech commented Oct 3, 2024

I'll work on adding that patch for SCons:
master...hummeltech:nixpkgs:SConsDarwinEtcPathsD

@superherointj superherointj marked this pull request as draft October 18, 2024 22:00
@superherointj superherointj changed the base branch from master to staging October 18, 2024 22:07
@superherointj superherointj marked this pull request as ready for review October 18, 2024 22:10
@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label Nov 10, 2024
@superherointj superherointj marked this pull request as draft November 13, 2024 12:33
@superherointj superherointj changed the base branch from staging to master November 13, 2024 12:39
@superherointj superherointj marked this pull request as ready for review November 13, 2024 12:41
@superherointj
Copy link
Contributor Author

superherointj commented Nov 13, 2024

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 345941


x86_64-linux

⏩ 8 packages marked as broken and skipped:
  • python311Packages.tiledb
  • python311Packages.tiledb.dist
  • python311Packages.worldengine
  • python311Packages.worldengine.dist
  • python312Packages.tiledb
  • python312Packages.tiledb.dist
  • python312Packages.worldengine
  • python312Packages.worldengine.dist
❌ 6 packages failed to build:
  • apacheHttpdPackages.mod_tile => builds in master. Flaky build for high CPU usage on host. On rebuilding, it builds fine!
  • python311Packages.python-mapnik => fails in master (1 test fail), fix at https://github.com/python3Packages.python-mapnik: mark broken #355713
  • python311Packages.python-mapnik.dist
  • python312Packages.python-mapnik => fails in master (1 test fail)
  • python312Packages.python-mapnik.dist
  • t-rex => errors at master, reported broken at 355705
✅ 136 packages built:
  • cloudcompare
  • entwine
  • gdal (python312Packages.gdal)
  • gmt
  • gplates
  • grass
  • hydra
  • libpqxx
  • libpqxx.dev
  • mapcache
  • mapnik
  • mapproxy
  • mapproxy.dist
  • mapserver
  • merkaartor
  • mysql-workbench
  • octavePackages.mapping
  • openorienteering-mapper
  • paraview
  • pdal
  • perl538Packages.Tirex
  • perl538Packages.Tirex.devdoc
  • perl540Packages.Tirex
  • perl540Packages.Tirex.devdoc
  • python311Packages.bsuite
  • python311Packages.bsuite.dist
  • python311Packages.cartopy
  • python311Packages.cartopy.dist
  • python311Packages.django-bootstrap4
  • python311Packages.django-bootstrap4.dist
  • python311Packages.django-bootstrap5
  • python311Packages.django-bootstrap5.dist
  • python311Packages.drf-extra-fields
  • python311Packages.drf-extra-fields.dist
  • python311Packages.fiona
  • python311Packages.fiona.dist
  • python311Packages.folium
  • python311Packages.folium.dist
  • python311Packages.gdal
  • python311Packages.geodatasets
  • python311Packages.geodatasets.dist
  • python311Packages.geopandas
  • python311Packages.geopandas.dist
  • python311Packages.geoparquet
  • python311Packages.geoparquet.dist
  • python311Packages.inequality
  • python311Packages.inequality.dist
  • python311Packages.libpysal
  • python311Packages.libpysal.dist
  • python311Packages.mapclassify
  • python311Packages.mapclassify.dist
  • python311Packages.momepy
  • python311Packages.momepy.dist
  • python311Packages.morecantile
  • python311Packages.morecantile.dist
  • python311Packages.netbox-documents
  • python311Packages.netbox-documents.dist
  • python311Packages.osmnx
  • python311Packages.osmnx.dist
  • python311Packages.plotnine
  • python311Packages.plotnine.dist
  • python311Packages.pygmt
  • python311Packages.pygmt.dist
  • python311Packages.pyogrio
  • python311Packages.pyogrio.dist
  • python311Packages.rasterio
  • python311Packages.rasterio.dist
  • python311Packages.rio-tiler
  • python311Packages.rio-tiler.dist
  • python311Packages.rioxarray
  • python311Packages.rioxarray.dist
  • python311Packages.shimmy
  • python311Packages.shimmy.dist
  • python311Packages.wktutils
  • python311Packages.wktutils.dist
  • python312Packages.bsuite
  • python312Packages.bsuite.dist
  • python312Packages.cartopy
  • python312Packages.cartopy.dist
  • python312Packages.django-bootstrap4
  • python312Packages.django-bootstrap4.dist
  • python312Packages.django-bootstrap5
  • python312Packages.django-bootstrap5.dist
  • python312Packages.drf-extra-fields
  • python312Packages.drf-extra-fields.dist
  • python312Packages.fiona
  • python312Packages.fiona.dist
  • python312Packages.folium
  • python312Packages.folium.dist
  • python312Packages.geodatasets
  • python312Packages.geodatasets.dist
  • python312Packages.geopandas
  • python312Packages.geopandas.dist
  • python312Packages.geoparquet
  • python312Packages.geoparquet.dist
  • python312Packages.inequality
  • python312Packages.inequality.dist
  • python312Packages.libpysal
  • python312Packages.libpysal.dist
  • python312Packages.mapclassify
  • python312Packages.mapclassify.dist
  • python312Packages.momepy
  • python312Packages.momepy.dist
  • python312Packages.morecantile
  • python312Packages.morecantile.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.osmnx
  • python312Packages.osmnx.dist
  • python312Packages.plotnine
  • python312Packages.plotnine.dist
  • python312Packages.pygmt
  • python312Packages.pygmt.dist
  • python312Packages.pyogrio
  • python312Packages.pyogrio.dist
  • python312Packages.rasterio
  • python312Packages.rasterio.dist
  • python312Packages.rio-tiler
  • python312Packages.rio-tiler.dist
  • python312Packages.rioxarray
  • python312Packages.rioxarray.dist
  • python312Packages.wktutils
  • python312Packages.wktutils.dist
  • pytrainer
  • pytrainer.dist
  • qgis
  • qgis-ltr
  • qmapshack
  • saga
  • sumo
  • survex
  • therion
  • tiledb
  • tunnelx
  • udig
  • vpv

@paparodeo
Copy link
Contributor

paparodeo commented Nov 13, 2024

would be great to get this merged -- it fixes some build errors with clang-19

@NixOS/postgres

@superherointj
Copy link
Contributor Author

superherointj commented Nov 13, 2024

would be great to get this merged -- it fixes some build errors with clang-19

AFAIK there is nothing else to be done here.

It's ready for review/merge!

Feel free to review/merge.

Copy link
Contributor

@paparodeo paparodeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. can remove CXXFLAGS as code compiles with clang fine without it.

pkgs/by-name/li/libpqxx/package.nix Outdated Show resolved Hide resolved
@superherointj
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 345941


x86_64-linux

⏩ 8 packages marked as broken and skipped:
  • python311Packages.tiledb
  • python311Packages.tiledb.dist
  • python311Packages.worldengine
  • python311Packages.worldengine.dist
  • python312Packages.tiledb
  • python312Packages.tiledb.dist
  • python312Packages.worldengine
  • python312Packages.worldengine.dist
❌ 5 packages failed to build:
  • python311Packages.python-mapnik
  • python311Packages.python-mapnik.dist
  • python312Packages.python-mapnik
  • python312Packages.python-mapnik.dist
  • t-rex
✅ 137 packages built:
  • apacheHttpdPackages.mod_tile
  • cloudcompare
  • entwine
  • gdal (python312Packages.gdal)
  • gmt
  • gplates
  • grass
  • hydra
  • libpqxx
  • libpqxx.dev
  • mapcache
  • mapnik
  • mapproxy
  • mapproxy.dist
  • mapserver
  • merkaartor
  • mysql-workbench
  • octavePackages.mapping
  • openorienteering-mapper
  • paraview
  • pdal
  • perl538Packages.Tirex
  • perl538Packages.Tirex.devdoc
  • perl540Packages.Tirex
  • perl540Packages.Tirex.devdoc
  • python311Packages.bsuite
  • python311Packages.bsuite.dist
  • python311Packages.cartopy
  • python311Packages.cartopy.dist
  • python311Packages.django-bootstrap4
  • python311Packages.django-bootstrap4.dist
  • python311Packages.django-bootstrap5
  • python311Packages.django-bootstrap5.dist
  • python311Packages.drf-extra-fields
  • python311Packages.drf-extra-fields.dist
  • python311Packages.fiona
  • python311Packages.fiona.dist
  • python311Packages.folium
  • python311Packages.folium.dist
  • python311Packages.gdal
  • python311Packages.geodatasets
  • python311Packages.geodatasets.dist
  • python311Packages.geopandas
  • python311Packages.geopandas.dist
  • python311Packages.geoparquet
  • python311Packages.geoparquet.dist
  • python311Packages.inequality
  • python311Packages.inequality.dist
  • python311Packages.libpysal
  • python311Packages.libpysal.dist
  • python311Packages.mapclassify
  • python311Packages.mapclassify.dist
  • python311Packages.momepy
  • python311Packages.momepy.dist
  • python311Packages.morecantile
  • python311Packages.morecantile.dist
  • python311Packages.netbox-documents
  • python311Packages.netbox-documents.dist
  • python311Packages.osmnx
  • python311Packages.osmnx.dist
  • python311Packages.plotnine
  • python311Packages.plotnine.dist
  • python311Packages.pygmt
  • python311Packages.pygmt.dist
  • python311Packages.pyogrio
  • python311Packages.pyogrio.dist
  • python311Packages.rasterio
  • python311Packages.rasterio.dist
  • python311Packages.rio-tiler
  • python311Packages.rio-tiler.dist
  • python311Packages.rioxarray
  • python311Packages.rioxarray.dist
  • python311Packages.shimmy
  • python311Packages.shimmy.dist
  • python311Packages.wktutils
  • python311Packages.wktutils.dist
  • python312Packages.bsuite
  • python312Packages.bsuite.dist
  • python312Packages.cartopy
  • python312Packages.cartopy.dist
  • python312Packages.django-bootstrap4
  • python312Packages.django-bootstrap4.dist
  • python312Packages.django-bootstrap5
  • python312Packages.django-bootstrap5.dist
  • python312Packages.drf-extra-fields
  • python312Packages.drf-extra-fields.dist
  • python312Packages.fiona
  • python312Packages.fiona.dist
  • python312Packages.folium
  • python312Packages.folium.dist
  • python312Packages.geodatasets
  • python312Packages.geodatasets.dist
  • python312Packages.geopandas
  • python312Packages.geopandas.dist
  • python312Packages.geoparquet
  • python312Packages.geoparquet.dist
  • python312Packages.inequality
  • python312Packages.inequality.dist
  • python312Packages.libpysal
  • python312Packages.libpysal.dist
  • python312Packages.mapclassify
  • python312Packages.mapclassify.dist
  • python312Packages.momepy
  • python312Packages.momepy.dist
  • python312Packages.morecantile
  • python312Packages.morecantile.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.osmnx
  • python312Packages.osmnx.dist
  • python312Packages.plotnine
  • python312Packages.plotnine.dist
  • python312Packages.pygmt
  • python312Packages.pygmt.dist
  • python312Packages.pyogrio
  • python312Packages.pyogrio.dist
  • python312Packages.rasterio
  • python312Packages.rasterio.dist
  • python312Packages.rio-tiler
  • python312Packages.rio-tiler.dist
  • python312Packages.rioxarray
  • python312Packages.rioxarray.dist
  • python312Packages.wktutils
  • python312Packages.wktutils.dist
  • pytrainer
  • pytrainer.dist
  • qgis
  • qgis-ltr
  • qmapshack
  • saga
  • sumo
  • survex
  • therion
  • tiledb
  • tunnelx
  • udig
  • vpv

Release: https://github.com/jtv/libpqxx/releases/tag/7.9.2

- split development output

- enable strictDeps

- exclude postgres server files (uses lib/dev output instead)

- migrate sha256 to hash

- meta: add downloadPage, changelog
@paparodeo
Copy link
Contributor

❌ 5 packages failed to build:

failures are broken on master and have been for a month or more.
https://hydra.nixos.org/build/276727249
https://hydra.nixos.org/build/277361205
https://hydra.nixos.org/build/277360294

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Nov 13, 2024
@superherointj
Copy link
Contributor Author

superherointj commented Nov 13, 2024

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 345941


x86_64-linux

⏩ 8 packages marked as broken and skipped:
  • python311Packages.tiledb
  • python311Packages.tiledb.dist
  • python311Packages.worldengine
  • python311Packages.worldengine.dist
  • python312Packages.tiledb
  • python312Packages.tiledb.dist
  • python312Packages.worldengine
  • python312Packages.worldengine.dist
❌ 6 packages failed to build:
  • apacheHttpdPackages.mod_tile
  • python311Packages.python-mapnik
  • python311Packages.python-mapnik.dist
  • python312Packages.python-mapnik
  • python312Packages.python-mapnik.dist
  • t-rex
✅ 136 packages built:
  • cloudcompare
  • entwine
  • gdal (python312Packages.gdal)
  • gmt
  • gplates
  • grass
  • hydra
  • libpqxx
  • libpqxx.dev
  • mapcache
  • mapnik
  • mapproxy
  • mapproxy.dist
  • mapserver
  • merkaartor
  • mysql-workbench
  • octavePackages.mapping
  • openorienteering-mapper
  • paraview
  • pdal
  • perl538Packages.Tirex
  • perl538Packages.Tirex.devdoc
  • perl540Packages.Tirex
  • perl540Packages.Tirex.devdoc
  • python311Packages.bsuite
  • python311Packages.bsuite.dist
  • python311Packages.cartopy
  • python311Packages.cartopy.dist
  • python311Packages.django-bootstrap4
  • python311Packages.django-bootstrap4.dist
  • python311Packages.django-bootstrap5
  • python311Packages.django-bootstrap5.dist
  • python311Packages.drf-extra-fields
  • python311Packages.drf-extra-fields.dist
  • python311Packages.fiona
  • python311Packages.fiona.dist
  • python311Packages.folium
  • python311Packages.folium.dist
  • python311Packages.gdal
  • python311Packages.geodatasets
  • python311Packages.geodatasets.dist
  • python311Packages.geopandas
  • python311Packages.geopandas.dist
  • python311Packages.geoparquet
  • python311Packages.geoparquet.dist
  • python311Packages.inequality
  • python311Packages.inequality.dist
  • python311Packages.libpysal
  • python311Packages.libpysal.dist
  • python311Packages.mapclassify
  • python311Packages.mapclassify.dist
  • python311Packages.momepy
  • python311Packages.momepy.dist
  • python311Packages.morecantile
  • python311Packages.morecantile.dist
  • python311Packages.netbox-documents
  • python311Packages.netbox-documents.dist
  • python311Packages.osmnx
  • python311Packages.osmnx.dist
  • python311Packages.plotnine
  • python311Packages.plotnine.dist
  • python311Packages.pygmt
  • python311Packages.pygmt.dist
  • python311Packages.pyogrio
  • python311Packages.pyogrio.dist
  • python311Packages.rasterio
  • python311Packages.rasterio.dist
  • python311Packages.rio-tiler
  • python311Packages.rio-tiler.dist
  • python311Packages.rioxarray
  • python311Packages.rioxarray.dist
  • python311Packages.shimmy
  • python311Packages.shimmy.dist
  • python311Packages.wktutils
  • python311Packages.wktutils.dist
  • python312Packages.bsuite
  • python312Packages.bsuite.dist
  • python312Packages.cartopy
  • python312Packages.cartopy.dist
  • python312Packages.django-bootstrap4
  • python312Packages.django-bootstrap4.dist
  • python312Packages.django-bootstrap5
  • python312Packages.django-bootstrap5.dist
  • python312Packages.drf-extra-fields
  • python312Packages.drf-extra-fields.dist
  • python312Packages.fiona
  • python312Packages.fiona.dist
  • python312Packages.folium
  • python312Packages.folium.dist
  • python312Packages.geodatasets
  • python312Packages.geodatasets.dist
  • python312Packages.geopandas
  • python312Packages.geopandas.dist
  • python312Packages.geoparquet
  • python312Packages.geoparquet.dist
  • python312Packages.inequality
  • python312Packages.inequality.dist
  • python312Packages.libpysal
  • python312Packages.libpysal.dist
  • python312Packages.mapclassify
  • python312Packages.mapclassify.dist
  • python312Packages.momepy
  • python312Packages.momepy.dist
  • python312Packages.morecantile
  • python312Packages.morecantile.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.osmnx
  • python312Packages.osmnx.dist
  • python312Packages.plotnine
  • python312Packages.plotnine.dist
  • python312Packages.pygmt
  • python312Packages.pygmt.dist
  • python312Packages.pyogrio
  • python312Packages.pyogrio.dist
  • python312Packages.rasterio
  • python312Packages.rasterio.dist
  • python312Packages.rio-tiler
  • python312Packages.rio-tiler.dist
  • python312Packages.rioxarray
  • python312Packages.rioxarray.dist
  • python312Packages.wktutils
  • python312Packages.wktutils.dist
  • pytrainer
  • pytrainer.dist
  • qgis
  • qgis-ltr
  • qmapshack
  • saga
  • sumo
  • survex
  • therion
  • tiledb
  • tunnelx
  • udig
  • vpv

@ofborg ofborg bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Nov 14, 2024
Copy link
Contributor

@wolfgangwalther wolfgangwalther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's really hard to see which changes are just "reformatting / refactor / modernize" and which changes are actually fixing something, or related to the update, or..

Could you split those commits up better, so that it's actually reviewable? I'd like to understand which change needed to happen because of the update for example, and whether there where any changes which came on top to fix stuff.

pkgs/by-name/li/libpqxx/package.nix Show resolved Hide resolved
Copy link
Contributor

@gepbird gepbird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than this nit, LGTM

pkgs/by-name/li/libpqxx/package.nix Show resolved Hide resolved
pkgs/by-name/li/libpqxx/package.nix Show resolved Hide resolved
pkgs/by-name/li/libpqxx/package.nix Show resolved Hide resolved
@gepbird
Copy link
Contributor

gepbird commented Nov 15, 2024

As previously mentioned, can you please split up your commits? At least put the refactor and version bump changes in separate commits.

@superherointj superherointj deleted the libpqxx-7.9.2 branch November 15, 2024 23:00
@paparodeo
Copy link
Contributor

nitpicked to death. thanks for trying to update the package, would've been nice for users.

@paparodeo
Copy link
Contributor

to reviewers: I get how constant nixfmt can be annoying but in this change what we were dealing with was like 4 lines of excess diffs. I think the review criteria can be relaxed a little bit as this change was a net improvement for nixpkgs.

@gepbird
Copy link
Contributor

gepbird commented Nov 16, 2024

Sorry if I was too harsh, I'll try to compose my messages in a nicer way in the future.

However I still want to strive for code quality and that unfortunately includes nitpicks. You are more than welcome to ask for help when you're unsure how to make a suggested change. You can also say no to nitpicks, I understand that you may not have the time to deal with them or you think they are not important at all, but PLEASE communicate that to us. Just closing the PR then complaining about nitpicks is not the best response.

@gepbird gepbird mentioned this pull request Nov 16, 2024
13 tasks
@autra
Copy link
Contributor

autra commented Nov 16, 2024

to reviewers: I get how constant nixfmt can be annoying but in this change what we were dealing with was like 4 lines of excess diffs. I think the review criteria can be relaxed a little bit as this change was a net improvement for nixpkgs.

I generally agree that nitpicking can be quite annoying. And I agree that we should merge quickly when PR are a net improvement.

However, to be honest, this PR didn't get nitpicked too much. The author only got "LGTM" and minor fixes. I think this is just an issue with expectations not at the right place, because here, the number of comments and asked changes is still low, from my perception.

The author didn't even explained why they closed it. Maybe they just simply don't care any more about this package.

(If you want an example of a PR with only a moderate amounts of comments, see #312381 for instance (62 comments, most of them after the initial maintainer approved). I'm sure we can easily find worse examples).

@wolfgangwalther
Copy link
Contributor

However, to be honest, this PR didn't get nitpicked too much. The author only got "LGTM" and minor fixes. I think this is just an issue with expectations not at the right place, because here, the number of comments and asked changes is still low, from my perception.

I think it's reasonable to expect the changes to be split up in a way that makes proper reviewing easy, not hard. *

I also think it's entirely unreasonable to expand scope here by asking for a move to the finalAttrs pattern. **

I see much less of a problem with "nit-picking", but much more of a problem with "expanding scope". That just happens way too often. I am fine with nit-picking on even small things that might have been changed to something slightly worse than before. If you change it - you better change it in a good way. But asking to change stuff that the author didn't even touch...


* There are more good reasons for splitting up commits properly than just reviewing. What if one part of your commit needs to be reverted, because it broke something? You'd want to be able to revert a commit without reverting all the formatting changes, the good refactors etc. at the same time.

** Not even considering that "move everything to finalAttrs" is still seen critical by some and hardly a consensus reached by everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 1-10 10.rebuild-linux: 11-100 12.approvals: 1 This PR was reviewed and approved by one reputable person
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants