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

Python 3 Support #2

Closed
andrew-d opened this issue Jul 1, 2012 · 9 comments
Closed

Python 3 Support #2

andrew-d opened this issue Jul 1, 2012 · 9 comments

Comments

@andrew-d
Copy link

andrew-d commented Jul 1, 2012

Hello,

Are there any plans to add support for python 3? Now that Python 3.3 is close to release, I'd love to be able to use routes with it.

Thanks!

@bbangert
Copy link
Owner

bbangert commented Jul 1, 2012

Nope, there are no plans to add support for Python 3. The only way support will be added is via a pull request with tests, this is because routes is in a maintenance only mode. Were you interested in adding support, or just asking? If you were interested in adding support, I'd be happy to ping the community and see if others were interested in helping out.

@andrew-d
Copy link
Author

andrew-d commented Jul 1, 2012

Well, it was mostly asking to determine what future plans were. Has routes been superseded by something else? I'm building my own web framework, and I found routes while looking for URL dispatchers. It's easily the nicest one I've found so far, and if there's no superseding project, I might go ahead and give Python 3 porting a shot.

@bbangert
Copy link
Owner

bbangert commented Jul 1, 2012

That'd be great. I unfortunately just have too many projects at this point, and not enough time, which is why Routes is maintenance only. It's rather well document and tested, which should help in porting. There's currently no superseding project, the closest might be the URL routing that's contained inside Pyramid (which is Python 3 compatible), and has a lot of overlap feature-wise with the capabilities of routes. It might be easier to extract the portion (if it meets your requirements) from pyramid than update routes to be Python 3 compatible. But I sure wouldn't mind routes becoming Python 3 compatible. :)

@wyuenho
Copy link

wyuenho commented Oct 20, 2012

CherryPy has pretty neat integration with Routes and blueberrypy is in turn quite heavily dependent on Routes. I might take a crack at porting it over to Py3 or write a new package. Haven't decided yet.

According http://python3wos.appspot.com, Routes is listed as a top 200 (downloaded) project. It might be worth it to port it over to Py3k.

@webknjaz
Copy link
Contributor

Hi, I'm going to fork this and make py3k patches. Is anyone going to help with tests?

@bbangert
Copy link
Owner

bbangert commented Mar 2, 2013

I'd be happy to put out some tweets and see if anyone else is interested. It also might be of interest to some people at the PyCon sprints, though I won't be around for them.

@webknjaz
Copy link
Contributor

webknjaz commented Mar 3, 2013

Hi, Ben. It works somehow with basic 2to3 conversions. After editing converted sources and fixing some unicode-connected code blocks I've decreased nose failures amount:


Ran 203 tests in 0.603s

FAILED (errors=1, failures=6)


So it would be nice if you tweet about this.

@jd-boyd
Copy link

jd-boyd commented Jul 12, 2013

Since this #10 was merged, can this be closed?

@andrew-d
Copy link
Author

Yep, will do! Thanks for all the work, @webknjaz! 🍰

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

5 participants