-
-
Notifications
You must be signed in to change notification settings - Fork 326
Add Python 3.12 Support (#752) #765
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
Conversation
👋 Can you estimate when this PR will be finished? |
@rmk135 please, can you give us (community) some expectations about this pr? |
Maybe temporarily merge PR despite of some failed unit tests... |
@rmk135 can you please look into this PR when you have the chance? This package is at least used by 2.5k repositories (based on GitHub stats) and Python 3.12 has been released 2 months ago. All the projects that are using this package are being blocked from updating to Python 3.12. If you no longer have the capacity to maintain this project, would you be able to look for collaborators or transfer ownership to someone who can maintain it? @anton-petrov who is the maintainer of pyenv has offered to help maintain this project #688 (comment) Maybe you can work out something with them for the future of this project? |
As a temporary solution, anyone can install directly from the repository https://github.com/anton-petrov/python-dependency-injector or create their own fork. |
hello @rmk135 , is there any update about this PR. |
@anton-petrov |
Yeah plz do it if possible. Will help me a lot |
@rmk135 any update on this PR? |
@rmk135 you're alive? |
@rmk135 please give a reply. I need to upgrade our project to python 3.12 . it is now mandatory for us but due to this package can not upgrade . and it will be difficult for us to use others alternative packages cause in that case need to change lot of things . Please give some update . |
@rmk135 has no Github activity over the last two months. They are probably not just ignoring the requests here but are unable to check Github for whatever reasons. @StummeJ as a previous contributor of this repo, are you able to help merging this PR? Or advice on who might be able to help? |
As mentioned in the issues referenced here: it seems @rmk135 does not have a lot of time available to implement new features on the repo. He even mentioned that he's looking for an additional/new maintainer link. @anton-petrov offered his help, but not sure if that went any further than the offer. |
Unfortunately, this is the main problem - he himself has already stopped working on the library, but also he has not handed it over to anyone for further maintenance. |
I've actually switched to using Neoteroi's Rodi (along with their configuration manager). They'er actively building a web framework for python so it's still maintained (be it a bit slow (days) sometimes) Rodi and essentials-configuration was inspired by dotnet's dependency injection and config manager. |
First, python 3.12 support was initiated by @rmk135 and then he disappeared. Then @anton-petrov started developing of his fork and disappeared too. Well, now it's my time to take that risk. I took Anton's PR and made some improvements to the point where it become possible to build and publish to PyPI. I didn't bother figuring out how to build packages for old interpreters and dropped this code.
UPD: |
this is sad :/ I guess this is end for this library in production environments. |
- Drop python image version to 3.9.* due to dependency python support limitation: see ets-labs/python-dependency-injector#765
- Drop python image version to 3.9.* due to dependency python support limitation: see ets-labs/python-dependency-injector#765
Oh, is it really no more update...? 😢 |
Any update on this? If this library is no longer maintained, what are the alternative options? |
we've switched our projects to https://github.com/adriangb/di |
any news on when this will be released? this is blocking us from migrating to python 3.12 |
@rmk135 please give us some updates. |
Its a damn shame. I absolutely love this library and it is so useful for building well designed Python applications. Hopefully we get a resolution on the ownership of the repository. But also, everyone should chill out on harassing people to get what you want. That is always the danger of using open-source libraries in production. |
Nobody owes you anything. It’s not clear where the complaints come from, if you don’t buy commercial support, you don’t pay for the developer’s time. A person may have his own priorities, problems, including health or personal ones. Solve the issue of owning the repositories of your projects, and not those of others. I really hope that Roman will return to active development, but in the current situation I just spent 30 minutes of time and put together my own version for my projects, including several patches, including support for 3.12, no problems with that either. |
@osminogin |
@biyani701 The way I recommend is to fork this project and cherry-pick needed commits from @anton-petrov and @Pentusha forks. Repositories and a list of commits that may interest you can be found here master...osminogin:python-dependency-injector:master As an option (I don’t recommend it), you can take my fork, which already has these changes applied. Next you need a compiler, required libraries and headers, as usual, building wheel is done with the command Don't forget to add some kind of suffix to your version or increment the version in As far as I understand, this patch allows this project to be built with Python 3.12 and old version of Cython ABI. Supporting Python 3.12 with the new Cython ABI version requires some big changes, and apparently some of the difficulties are caused by this. |
Hi all! I'm planning to release this version as a beta release |
* Ignore .vscode * Python 3.12 Support * Change base python to 3.12 and pin pydantic to V1 * all tests passed * ci: change default python to 3.12 * remove legacy python versions * annotate pydantic models for tests
5f56dc8
to
7de9443
Compare
The release with Python 3.12 support is on PyPI: https://pypi.org/project/dependency-injector/4.42.0b1/
Please report any issues you notice by opening an issue here: https://github.com/ets-labs/python-dependency-injector/issues I'll publish the plan for future steps a bit later. There is a lot of work to do. |
Hi all! Here's the roadmap for 2024: #812 |
Ignore .vscode
Python 3.12 Support
Change base python to 3.12 and pin pydantic to V1
all tests passed
ci: change default python to 3.12
remove legacy python versions
annotate pydantic models for tests