ocrmypdf 15.0.2 -> 15.2.0 https://github.com/ocrmypdf/OCRmyPDF/releases
attrpath: ocrmypdf
Checking auto update branch...
No auto update branch exists
[version]
[version] updated version and sha256
[rustCrateVersion]
[rustCrateVersion] No cargoSha256 or cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] skipping because derivation has no updateScript
[quotedUrls]
[quotedUrls] nothing found to replace
Diff after rewrites:
diff --git a/pkgs/development/python-modules/ocrmypdf/default.nix b/pkgs/development/python-modules/ocrmypdf/default.nix
index 5ed96beeace7..fc6aeb040120 100644
--- a/pkgs/development/python-modules/ocrmypdf/default.nix
+++ b/pkgs/development/python-modules/ocrmypdf/default.nix
@@ -31,7 +31,7 @@
buildPythonPackage rec {
pname = "ocrmypdf";
- version = "15.0.2";
+ version = "15.2.0";
disabled = pythonOlder "3.9";
@@ -47,7 +47,7 @@ buildPythonPackage rec {
postFetch = ''
rm "$out/.git_archival.txt"
'';
- hash = "sha256-DpsNH3djB35WlqDPauCy7Re8pbZLnUE/pPAix4WHPKM=";
+ hash = "sha256-XeO/obDP2tv/HKZLa0Absv26m+oUIup/IBMFZP8/1VQ=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
Successfully finished processing
cachix "/nix/store/6h97vm961fiy6si7lnn8j6r0myf7qzpw-python3.10-ocrmypdf-15.2.0"
[check][nixpkgs-review]
Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
3 packages built:
- ocrmypdf (python310Packages.ocrmypdf)
- paperless-ngx
- python311Packages.ocrmypdf
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 4
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 5
Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 4
Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from https://github.com/ocrmypdf/OCRmyPDF/releases.
meta.description for ocrmypdf is: Adds an OCR text layer to scanned PDF files, allowing them to be searched
meta.homepage for ocrmypdf is: https://github.com/ocrmypdf/OCRmyPDF
meta.changelog for ocrmypdf is: https://github.com/ocrmypdf/OCRmyPDF/blob/v15.2.0/docs/release_notes.rst
###### Updates performed
- Version update
###### To inspect upstream changes
- [Compare changes on GitHub](https://github.com/ocrmypdf/OCRmyPDF/compare/v15.0.2...v15.2.0)
###### Impact
Checks done (click to expand)
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 15.2.0 with grep in /nix/store/6h97vm961fiy6si7lnn8j6r0myf7qzpw-python3.10-ocrmypdf-15.2.0
- found 15.2.0 in filename of file in /nix/store/6h97vm961fiy6si7lnn8j6r0myf7qzpw-python3.10-ocrmypdf-15.2.0
---
Rebuild report (if merged into master) (click to expand)
```
4 total rebuild path(s)
4 package rebuild(s)
First fifty rebuilds by attrpath
ocrmypdf
paperless-ngx
python310Packages.ocrmypdf
python311Packages.ocrmypdf
```
Instructions to test this update (click to expand)
---
Either **download from Cachix**:
```
nix-store -r /nix/store/6h97vm961fiy6si7lnn8j6r0myf7qzpw-python3.10-ocrmypdf-15.2.0 \
--option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
--option trusted-public-keys '
nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A ocrmypdf https://github.com/r-ryantm/nixpkgs/archive/7df95e24383fac79c82906f58038027052a99794.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/7df95e24383fac79c82906f58038027052a99794#ocrmypdf
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/6h97vm961fiy6si7lnn8j6r0myf7qzpw-python3.10-ocrmypdf-15.2.0
ls -la /nix/store/6h97vm961fiy6si7lnn8j6r0myf7qzpw-python3.10-ocrmypdf-15.2.0/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
3 packages built:
- ocrmypdf (python310Packages.ocrmypdf)
- paperless-ngx
- python311Packages.ocrmypdf
---
###### Maintainer pings
cc @Kiwi @dotlambda for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
HTTPError (HttpExceptionRequest Request {
host = "api.github.com"
port = 443
secure = True
requestHeaders = [("User-Agent","github.hs/0.28.0.1"),("Accept","application/vnd.github.v3+json"),("Authorization","")]
path = "/repos/nixos/nixpkgs/pulls"
queryString = ""
method = "POST"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
proxySecureMode = ProxySecureWithConnect
}
(StatusCodeException (Response {responseStatus = Status {statusCode = 422, statusMessage = "Unprocessable Entity"}, responseVersion = HTTP/1.1, responseHeaders = [("Server","GitHub.com"),("Date","Thu, 12 Oct 2023 01:10:35 GMT"),("Content-Type","application/json; charset=utf-8"),("Content-Length","186"),("X-OAuth-Scopes","gist, public_repo"),("X-Accepted-OAuth-Scopes",""),("X-GitHub-Media-Type","github.v3; format=json"),("x-github-api-version-selected","2022-11-28"),("X-RateLimit-Limit","5000"),("X-RateLimit-Remaining","4562"),("X-RateLimit-Reset","1697074634"),("X-RateLimit-Used","438"),("X-RateLimit-Resource","core"),("Access-Control-Expose-Headers","ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset"),("Access-Control-Allow-Origin","*"),("Strict-Transport-Security","max-age=31536000; includeSubdomains; preload"),("X-Frame-Options","deny"),("X-Content-Type-Options","nosniff"),("X-XSS-Protection","0"),("Referrer-Policy","origin-when-cross-origin, strict-origin-when-cross-origin"),("Content-Security-Policy","default-src 'none'"),("Vary","Accept-Encoding, Accept, X-Requested-With"),("X-GitHub-Request-Id","D124:3076:2B59110:2BCBF36:6527478B")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose, responseOriginalRequest = Request {
host = "api.github.com"
port = 443
secure = True
requestHeaders = [("User-Agent","github.hs/0.28.0.1"),("Accept","application/vnd.github.v3+json"),("Authorization","")]
path = "/repos/nixos/nixpkgs/pulls"
queryString = ""
method = "POST"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
proxySecureMode = ProxySecureWithConnect
}
}) "{\"message\":\"Validation Failed\",\"errors\":[{\"resource\":\"PullRequest\",\"field\":\"head\",\"code\":\"invalid\"}],\"documentation_url\":\"https://docs.github.com/rest/pulls/pulls#create-a-pull-request\"}"))