-
Notifications
You must be signed in to change notification settings - Fork 51
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
Are you willing to consider dropping python2.7 support ? #163
Comments
Do you have a change in mind that would necessitate dropping Python 2.7 support or that would be more difficult to implement in Python 2.7? At this point, I find that there is not much overhead in maintaining the Python 2 version of the code for this project, so I would not drop support before EOY or before it ceases to be a requirement for official Flask extensions:
http://flask.pocoo.org/docs/1.0/extensiondev/#approved-extensions |
We are less than a year before extinction of python2.7, if ppl are still interested in python 2.7 they will have to use a pinned version of their dependencies anyway.
You refer to the list of approved extensions, as authority to take decision, but this document seems largely unmaintained and I woudn't rely on those guidelines too strictly. I'm afraid that this recommendation of keeping python2.7 is just some historical decision that is no longer valid. Since you seem to care about python 2.7, can you explain why ? |
I'm simply cautious about dropping support without good reason. In my view, if there is code that is currently harder to maintain because of support for Python 2 and there is a need to touch that code, that is a good reason to drop support a few months earlier. It sounds as if you are looking to refactor the library significantly and that could be a very good reason. |
We are using potion for our production workload. If you welcome contributions we will do more of them, to make sure potion stays relevant for us, as we need to grow. |
I am open to this idea. Give me a few days to discuss this internally, as
we are currently reviewing how to structure the maintenance of some of our
open source projects. Perhaps we can hop on a chat next week to address
this and your other open issues.
…On Thu, Jan 17, 2019, 16:18 Nicolas Delaby ***@***.*** wrote:
We are using potion for our production workload. If you welcome
contributions we will do more of them, to make sure potion stays relevant
for us, as we need to grow.
Also if we are able to make option attractive again, we might be able to
welcome more developers willing to help.
With a bit of anticipation and communication towards a release plan, we
should be able to break backward compatibility with a new major version.
Explaining for users stuck with python2.7 that potion maintenance will be
discontinued for them.
I think it is time to consider dropping python2.7, if you agree, we could
discuss here how we get there, in terms of release schedule ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#163 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEhZdSA9Whp1tXo5oZAkXuMAmF-h06xks5vEJRRgaJpZM4Z99sm>
.
|
@ticosax Thanks for your patience. Yes, dropping Python 2.7 support with an upcoming release is on the table. #161 and #162 are also interesting – and overdue – initiatives. What would be a good way to discuss the development that you are looking to have done on Potion to keep it relevant for your products? |
Thanks @lyschoening
I suggest to discuss our intentions on separate github issues. Once we agree, then we'll know we can make the effort to bring improvements knowing that it won't be forgotten. Be prepared for some controversial debates like dropping some ORM support and encouraging maintenance of them as third party library 😄 Also, to give you some context, coming from django world, most of my technical and governance inspirations will come from django-rest-framework, which I believe choose the right abstractions in order to expose models on an Rest API. This project grow a lot in the last years with an active community behind supporting it, including a rich eco-system of third party libraries. potion could become the equivalent for flask. |
@lyschoening just for your Information, we are maintaining our own fork under |
@ticosax Would you be interested in taking over the project at Infarm? |
Yes, but to be honest I a firm believer that it should become a community project, it means we will probably transfer ownership to jazzband or similar. |
No. I can no longer speak for DTU Biosustain, as I have since moved on to another company and am only a part of the organization as a maintainer of potion. Due to changing needs, we did drop potion in favor graphene (GraphQL) in my time at DTU Biosustain and I don't know that this has changed. Jazzband may be the right option. I will have to reach out to Jazzband as I am not certain I will be able to transfer the biosustain/potion repository. I'll either have to fork the repository or create a new one. As you have correctly observed, maintenance under the current repository is certainly not the way forward. |
I see, that explain a lot. |
@ticosax Due to internal politics I can't transfer the repository away from the DTU Biosustain organization. Otherwise, I would likely have done so much earlier. We can make a copy of the repository and update this repository with a message pointing to the new location. This of course means that we'll lose the stars and any current issues. I will do another push to allow a direct transfer to another organization, but I cannot guarantee its success. |
I see, so it means we won't have access to the namespace on pypi either, I assume. |
I do have access to the namespace on PyPI and can share that with other maintainers. Only the access to the GitHub repository was retained, so all that would be lost with a transfer is the stars and automatic redirect. It would be good to move the project over to Jazzband regardless.
That is fair enough. Other than supporting OpenAPI I don't think there is very much to be done anyway. It's a fine opinionated REST API framework for Flask + single page application pairings that need a simple permission system and can benefit from the TypeScript or Python clients. GraphQL covers the pains this library was written to solve and much more, so anyone considering Potion should first look if they can find comparable tooling for GQL, e.g. Graphene-SQLAlchemy. I will update the README to indicate that the project essentially in maintenance mode. |
https://pythonclock.org/
The text was updated successfully, but these errors were encountered: