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

packaging for python microservice wrapper #293

Closed
kalefranz opened this issue Nov 12, 2018 · 4 comments
Closed

packaging for python microservice wrapper #293

kalefranz opened this issue Nov 12, 2018 · 4 comments
Assignees

Comments

@kalefranz
Copy link

Hello,

I'm a maintainer on the conda project, and we're interested in having the python microservice wrapper code in this repo be packageable as a conda package. As it exists right now, without a proper setup.py python project configuration file, the package wouldn't be as clean as it otherwise could be. Would you be open to a pull request with some moderate refactoring that would make https://github.com/SeldonIO/seldon-core/tree/cac15ba/wrappers/python more easily distributed as a conda package (and also able to be distributed as standard package on PyPI)?

I've got potential WIP code at https://github.com/kalefranz/seldon-python-microservice showing what the changes might look like. If you're open to it and have any thoughts, comments, or advice before I open the PR, happy to take the feedback early.

@ukclivecox
Copy link
Contributor

ukclivecox commented Nov 12, 2018

Hi,

This looks great. We were planning on cleaning up the python code so this is very timely. Some points:

  • Would your PR make this part of the seldon-core codebase or are you working on extracting the code to a separate code base?
  • There have been some recent updates with extra pytests that need to be included. (Custom Metrics #281)
  • The version of the package needs to match Docker images for Python 2,3 (3.6 and 3.7). So we need to discuss how this is maintained separately or as part of this work. Python 3 is complex as python 3.7 has issues with TensorFlow so only python 3.6 is safe at the moment. ( see Docker image "seldonio/seldon-core-s2i-python3" uses old Python 3.6 #288)

@jklaise was planned to work on python cleanup so we should all get together to discuss.

@jklaise
Copy link
Contributor

jklaise commented Nov 13, 2018

@kalefranz We are planning a python package for the wrappers and client commands to make the whole process of wrapping images and testing live deployments easier. We will host this within the main seldon-core repo and are keen to make it installable from pip and conda. Would you like to connect on Slack to discuss your ideas?

@jklaise
Copy link
Contributor

jklaise commented Nov 20, 2018

@kalefranz I've started work on the Python package, it would be great if you could review it, especially re. conda recipe: #306

@jklaise
Copy link
Contributor

jklaise commented Dec 12, 2018

Closing via #306. A release on PyPI to follow together with a new release of Seldon Core. A release on conda-forge to follow shortly after, opened an issue at #341 @kalefranz .

@jklaise jklaise closed this as completed Dec 12, 2018
agrski pushed a commit that referenced this issue Dec 2, 2022
* fix Read on closed Body

* fix lint

* add extra test
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

No branches or pull requests

3 participants