Bug 266290

Summary: math/py-keras-preprocessing: Upgrade to 1.1.2
Product: Ports & Packages Reporter: Anthony Donnelly <amzo1337>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Many People CC: yuri
Priority: --- Flags: yuri: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 266303    
Attachments:
Description Flags
Update version of keras-preprocessing amzo1337: maintainer-approval?

Description Anthony Donnelly 2022-09-08 07:42:30 UTC
I'm busy working on a tensorflow port 2.9.1 and it compiles as it should, but requires the latest keras versions to operate correctly.

The entire keras stack needs to be upgraded to have a functional tensorflow port.


Tensorflow requires keras-preprocessing versions >= 1.1.1. While the port version currently remains at 1.1.0

I'll not currently attach a patch as nothing much needs changing to the port except the version.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2022-09-08 20:51:55 UTC
(In reply to Anthony Donnelly from comment #0)

Anthony,

I am not a maintainer of math/py-keras-preprocessing, rm@FreeBSD.org is.

Assigning to him.


Yuri
Comment 2 Anthony Donnelly 2022-09-08 22:19:30 UTC
Sorry about that, I got you confused with py-keras port which I have an update for to bring it to 2.9.0. Though it requires tensorflow 2.9.0 as a dependency which requires this port to be updated to fix the dependency chain.


keras-preprocessing:1.1.1 > tensorflow:2.9.1 > keras:2.9.0
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2022-09-08 22:23:02 UTC
(In reply to Anthony Donnelly from comment #2)

No problem!
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2022-09-09 18:40:03 UTC
@Antony,

You still need to submit the patch, even though it's trivial. Only a patch can be approved.


Yuri
Comment 5 Anthony Donnelly 2022-09-09 19:26:44 UTC
Created attachment 236459 [details]
Update version of keras-preprocessing

Not sure if there is a preferred convention for patches, but here is a patch to update the port for math/py-keras-preprocessing
Comment 6 Yuri Victorovich freebsd_committer freebsd_triage 2022-09-10 15:09:03 UTC
Approved via e-mail.
Comment 7 Yuri Victorovich freebsd_committer freebsd_triage 2022-09-10 15:12:19 UTC
Committed, thanks!
Comment 8 commit-hook freebsd_committer freebsd_triage 2022-09-10 15:12:40 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8094da667210460da5a6db49f4ade5accb118189

commit 8094da667210460da5a6db49f4ade5accb118189
Author:     Anthony Donnelly <amzo1337@gmail.com>
AuthorDate: 2022-09-10 15:10:26 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-10 15:10:26 +0000

    math/py-keras-preprocessing: Update 1.1.0 -> 1.1.2

    PR:             266290
    Approved by:    rm@ (maintainer; via e-mail)

 math/py-keras-preprocessing/Makefile | 2 +-
 math/py-keras-preprocessing/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)