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

Release recent version pydnp3 to PyPI #18

Open
garretfick opened this issue Oct 31, 2019 · 6 comments
Open

Release recent version pydnp3 to PyPI #18

garretfick opened this issue Oct 31, 2019 · 6 comments

Comments

@garretfick
Copy link
Contributor

Hi,

I'm trying to install pydnp3 via the PyPI package (https://pypi.org/project/pydnp3).

My Python application is using Python 3, but the version that was released to PyPI is from 2018 and depends on Python 2.7 headers. Python 2.7 is End of Life at the end of 2019, so we cannot make our application use 2.x version anymore.

Changes to this library now allow any version of Python to be used. What is needed is to publish a new version to PyPI.

It is possible to publish an update? I'd also be happy to make it happen, but I don't have the required permissions.

Thanks.

@shipmints
Copy link

This generous soul, @jmgnc, forked a slightly older version and made the changes to stop hard coding python2 references in the code. See https://github.com/jmgnc/pydnp3

I noticed that he did not submit a pull request for the changes. It would be helpful for the maintainers to take them.

@garretfick
Copy link
Contributor Author

garretfick commented Oct 31, 2019

The current version in this repository doesn't depend on Python 2.7 headers anymore. That was fixed in d897fb7. If I build using this code, all is good.

However, the associated PyPI package references an older version, which is where the Python 2.7 comes in.

@shipmints
Copy link

I see. My bad for not reading beyond. I can also see the original author had his hand in this which is great.

Yes, the pypi version should be updated, I agree, assuming all conformance tests pass, etc., or whatever the process is. Thanks to everyone for both opendnp3 and pydnp3.

@garretfick
Copy link
Contributor Author

@anhnguyen-cpi Any chance this can be completed. If there are tests that I can help run, I've available to assist.

I very much need a solution and I'd prefer to not create a copied version on PyPI.

@shipmints
Copy link

Any chance of this happening soon @aseemsharma-cpi ? Like @garretfick , happy to assist, if I can.

@garretfick
Copy link
Contributor Author

@shipmints I decided to fork the project and release a Python 3 version myself under the name pyopendnp3.

I did a release for Windows. I'm happy to do more and will take contributions.

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

2 participants