pydnp3 icon indicating copy to clipboard operation
pydnp3 copied to clipboard

Release recent version pydnp3 to PyPI

Open garretfick opened this issue 6 years ago • 6 comments

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.

garretfick avatar Oct 31 '19 17:10 garretfick

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.

shipmints avatar Oct 31 '19 17:10 shipmints

The current version in this repository doesn't depend on Python 2.7 headers anymore. That was fixed in https://github.com/ChargePoint/pydnp3/commit/d897fb7a38ccb064a14967ef4bdfab179df1fc36. 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.

garretfick avatar Oct 31 '19 17:10 garretfick

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.

shipmints avatar Oct 31 '19 18:10 shipmints

@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.

garretfick avatar Nov 19 '19 03:11 garretfick

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

shipmints avatar Jan 21 '20 00:01 shipmints

@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.

garretfick avatar Jan 21 '20 01:01 garretfick