Giter VIP home page Giter VIP logo

Comments (15)

lewismc avatar lewismc commented on July 20, 2024 1

IMHO master branch should be released and feedback should be posted here in issues. The source sitting in Git gathering dust is not really working as a mechanism for people testing the package. @philipkershaw @agstephens any comments?

from esgf-pyclient.

agstephens avatar agstephens commented on July 20, 2024

Hi @laliberte,

There are no plans to port to python 3. At present, most of our community is still rooted in python 2.7. It would be great if you have the time to update it.

Thanks, Ag

from esgf-pyclient.

laliberte avatar laliberte commented on July 20, 2024

Hi @agstephens, I tought the same until I realized recently that things seem to be moving pretty fast on the python 3 front with some key packages dropping features in python 2.7. So, if you don't mind, I would like to give a jab at the python 3 migration.

Here's what I think would be the best way to go at it:

  1. Reorganize the tests a bit and specify expected failures and skip tests that cannot succeed.
  2. Ideally, travis-ci integration.
  3. switch from using urllib2 to using the requests library.

I have made some progress on 1 & 2. What do you think about 3? I'll create a PR later today as a basis of discussion for 1 & 2.

from esgf-pyclient.

agstephens avatar agstephens commented on July 20, 2024

Hi @laliberte, I have merged into master having re-run the tests. I have just set up Travis integration for the master branch - thanks for the nudges regarding good practice. I also appreciate your nice decorators to manage the logon details in the test suite. Much slicker. I agree that switching to using the requests would be a nice upgrade. Thanks, Ag

from esgf-pyclient.

philipkershaw avatar philipkershaw commented on July 20, 2024

Hi @laliberte,

I've made a dual Python 2/3 compatible version of MyProxyClient. It's in devel at the moment:

https://github.com/cedadev/MyProxyClient/tree/devel

should be able to put on PyPI v soon

from esgf-pyclient.

agstephens avatar agstephens commented on July 20, 2024

@philipkershaw, how is your py2/3 compatible version of MyProxyClient doing? Thanks, Ag

from esgf-pyclient.

philipkershaw avatar philipkershaw commented on July 20, 2024

It's completed but needs minting in PyPI

from esgf-pyclient.

philipkershaw avatar philipkershaw commented on July 20, 2024

New version 2.0 now in PyPI

from esgf-pyclient.

lewismc avatar lewismc commented on July 20, 2024

Hi folks, where is this effort currently at? We are looking to upgrade over at Apache Open Climate Workbench and eager to chip in if it would be of help. Thanks.

from esgf-pyclient.

philipkershaw avatar philipkershaw commented on July 20, 2024

Sorry for the slow response @lewismc, yes it would be good to have contributions. The recent work has mostly been maintenance AFAIK

from esgf-pyclient.

lewismc avatar lewismc commented on July 20, 2024

OK doke, i think i will make an attempt to work on this issue then. @agoodm FYI.

from esgf-pyclient.

philipkershaw avatar philipkershaw commented on July 20, 2024

Thanks, the Python 3 port is pretty much finished in devel I think but it needs thorough testing.

from esgf-pyclient.

jhamman avatar jhamman commented on July 20, 2024

Does anyone have an update on this issue? It sounds like it is completed but waiting on some testing.

from esgf-pyclient.

agstephens avatar agstephens commented on July 20, 2024

Hi all, I appreciate your feedback. Was looking at this last week and getting some outstanding tests working on Py2.7 and Py3.3. I'll cut a release and people can let us know if there are any problems.

from esgf-pyclient.

agstephens avatar agstephens commented on July 20, 2024

Closing this as we have released a Python 3 compatible-version at v0.2.1:

https://github.com/ESGF/esgf-pyclient/releases/tag/0.2.1

This release includes the following features:

  • Python 3 support for the library
  • verify option in LogonManager
  • Works with Python 3 version of MyProxyClient
  • Testing structure with pytest has been improved

This release is available on GitHub at:

https://github.com/ESGF/esgf-pyclient/releases/tag/0.2.1

And PyPI at:

https://pypi.python.org/pypi/esgf-pyclient

You can typically install it with:

`pip install esgf-pyclient`

The latest release is documented at:

http://esgf-pyclient.readthedocs.io/en/latest/

from esgf-pyclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.