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

Re-render feedstock, upgrade version to 1.13.1 #66

Merged
merged 18 commits into from
Apr 16, 2019

Conversation

kyleabeauchamp
Copy link
Contributor

Checklist

  • Used a fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

Wanted to get a recent version of tensorflow built. Once we clean up the recipe and build process here, then we can start planning for the 1.13 release that is upcoming.

FYI I think the tensorflow CPU wheel files use SSE4.2 instructions (and possibly AVX?), so this may push the boundaries of our supported CPU architectures.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@kyleabeauchamp
Copy link
Contributor Author

PS: we expect the py37 build to fail because there is no such build for tf 1.12. However, I wanted to start getting the build architecture in place.

@kyleabeauchamp kyleabeauchamp changed the title [WIP] Re-render feedstock, upgrade version to 1.12 [WIP] Re-render feedstock, upgrade version to 1.13 Feb 20, 2019
@kyleabeauchamp
Copy link
Contributor Author

It looks like keras_applications is now a pre-req, so I'll have to add conda-forge recipes for that.

@kyleabeauchamp
Copy link
Contributor Author

@jjhelmus
Copy link
Collaborator

keras-applications is the name of the package on conda-forge.

@kyleabeauchamp
Copy link
Contributor Author

doh, fixed ;)

@kyleabeauchamp
Copy link
Contributor Author

Hmm, looks like there's an issue where tensorflow fails upon import due to old versions of numpy (from a775aca build), but something is pinning to older versions of numpy.

@kyleabeauchamp
Copy link
Contributor Author

PS: here is a link to the tf/numpy import issue that I found; issue suggested upgrading version: tensorflow/tensorflow#25942

@njzjz
Copy link
Member

njzjz commented Feb 24, 2019

1.13.0 has been released.

@kyleabeauchamp
Copy link
Contributor Author

kyleabeauchamp commented Feb 26, 2019

I've updated this PR to use the latest 1.13.1 release. I had to disable windows builds to get this to work, but it's now passing all but one of the other platform tests. The remaining Travis CI failure appears to be a timeout (not 100% sure). What do folks think about this?

@kyleabeauchamp kyleabeauchamp changed the title [WIP] Re-render feedstock, upgrade version to 1.13 Re-render feedstock, upgrade version to 1.13 Feb 26, 2019
@kyleabeauchamp kyleabeauchamp changed the title Re-render feedstock, upgrade version to 1.13 Re-render feedstock, upgrade version to 1.13.1 Feb 26, 2019
@mariusvniekerk
Copy link
Member

Yeah given that the osx ones on azure complete (but take 200 minutes) its probably a timeout

@mariusvniekerk
Copy link
Member

in order for this to release binaries we'd need to switch the default publisher

@kyleabeauchamp
Copy link
Contributor Author

Can you explain that a bit more, never heard of "default publisher".

@@ -30,15 +31,17 @@ requirements:
- absl-py >=0.1.6
- astor >=0.6.0
- gast >=0.2.0
- numpy >=1.13.3
- numpy >=1.16.1
Copy link
Collaborator

Choose a reason for hiding this comment

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

The wheel indicates compatibility with nuimpy >=1.13.3

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was unable to get the import to work due to an issue similar to tensorflow/tensorflow#559, which was resolved by a numpy upgrade.

recipe/meta.yaml Outdated
@@ -30,15 +31,17 @@ requirements:
- absl-py >=0.1.6
- astor >=0.6.0
- gast >=0.2.0
- numpy >=1.13.3
- numpy >=1.16.1
- six >=1.10.0
- protobuf >=3.6.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

protobuf >=3.6.1

recipe/meta.yaml Outdated
- termcolor >=1.1.0
- grpcio >=1.8.6
- enum34 >=1.1.6 # [py<34]
- backports.weakref >=1.0rc1 # [py<34]
- mock >=2.0.0 # [py2k]
- keras-applications
Copy link
Collaborator

Choose a reason for hiding this comment

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

has a lower bound of 1.0.6 in the wheel keras-application >=1.0.6

recipe/meta.yaml Outdated
- termcolor >=1.1.0
- grpcio >=1.8.6
- enum34 >=1.1.6 # [py<34]
- backports.weakref >=1.0rc1 # [py<34]
- mock >=2.0.0 # [py2k]
- keras-applications
- keras-preprocessing
Copy link
Collaborator

Choose a reason for hiding this comment

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

Where wheel specifies this as keras-preprocessing >=1.0.5

recipe/meta.yaml Outdated
- six >=1.10.0
- protobuf >=3.6.0
- tensorboard 1.10.*
#- tensorboard 1.12.* # NB: tensorboard is now bundled in the tensorflow wheel.
Copy link
Collaborator

Choose a reason for hiding this comment

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

tensorboard is a separate package on PyPI and in conda. The tensorflow wheel does include the tensorboard entry point but tensorboard is still a dependency.

@jjhelmus
Copy link
Collaborator

Tensorflow 1.13.1. added a new run dependency of tensorflow-estimator >=1.13.0,<1.14.0rc0

@kyleabeauchamp
Copy link
Contributor Author

Made some of the requested changes.

@kyleabeauchamp
Copy link
Contributor Author

Just need to build some of the other deps:

conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {'tensorboard=1.13', "tensorflow-estimator[version='>=1.13.0,<1.14.0rc0']"}

@dhirschfeld
Copy link
Member

Tensorflow 1.13.1. added a new run dependency of tensorflow-estimator >=1.13.0,<1.14.0rc0

Isn't that a terrible version pinning? IIUC that will match all alpha and beta releases of 1.14.0 which surely can't be desired?

Even though that version is specified in the tensorflow repo it would probably pay to fix it to 1.14.0a0 to prevent future breakage or even just 1.13.*

@kyleabeauchamp
Copy link
Contributor Author

I would be fine with that change, but I'll let @jjhelmus be the deciding vote.

@kyleabeauchamp
Copy link
Contributor Author

I think we need someone to merge the auto-generated tensorboard bump PR: conda-forge/tensorboard-feedstock#19

@kyleabeauchamp
Copy link
Contributor Author

OK the tensorboard dependency is now uploaded, next we need to build the tensorflow-estimator recipe.

@kyleabeauchamp
Copy link
Contributor Author

OK, made PR for estimator: conda-forge/staged-recipes#7895

@henryiii
Copy link

henryiii commented Apr 3, 2019

Any progress?

@marcelotrevisani
Copy link
Member

@conda-forge-admin, please rerender

@kyleabeauchamp
Copy link
Contributor Author

This build looks green? Any more reviewers?

@dhirschfeld
Copy link
Member

LGTM but as @jjhelmus is the assigned reviewer I was going to leave merging to him...

@jjhelmus
Copy link
Collaborator

LGTM, thanks for all your work on this @kyleabeauchamp, sorry it too so long for a review.

@jjhelmus jjhelmus merged commit 23a51f3 into conda-forge:master Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants