devartis / passbook

Python library to create Apple Passbook (.pkpass) files
http://www.devartis.com/
MIT License
272 stars 108 forks source link

New release planned ? #51

Open eduard-passnfly opened 4 years ago

eduard-passnfly commented 4 years ago

@fara @poligarcia @mbaechtold

Good morning, are you planning to do a release with all the new changes (specially support for Python 3)?

Current release dates from 25 Jul 2016 (v1.0.2). It would be great to get the latest code when installing the packages via pip.

thanks!

mbaechtold commented 4 years ago

Hey @eduard-passnfly

While waiting for a new release to be published on PyPI, you could tell pip to install this Python package directly from VCS, see https://pip.pypa.io/en/stable/reference/pip_install/#vcs-support

By providing an exact commit hash, you're even able to achieve a repeatable installation of the package, e.g. pip install git+https://github.com/devartis/passbook.git@cdd500d67e8dd007d83133cbd890e4fdd5b038e5#egg=passbook where https://github.com/devartis/passbook/commit/cdd500d67e8dd007d83133cbd890e4fdd5b038e5 is the latest commit as of right now.

By the way: I do not have the permission to cut new releases 😉

eduard-passnfly commented 4 years ago

Hi @mbaechtold

Thank you for the information, this should do the trick for now, I will give it a try!

Is there a way to specify a commit hash in a requirements.txt file ?

mbaechtold commented 4 years ago

Yes, in editable mode: https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format.

Putting the following line in your requirements.txt should do the trick (including the -e in front of the URL):

-e git+https://github.com/devartis/passbook.git@cdd500d67e8dd007d83133cbd890e4fdd5b038e5#egg=passbook
eduard-passnfly commented 4 years ago

Thank you @mbaechtold , that is useful help, I appreciate it!

shivaRamdeen commented 3 years ago

I created a fork that uses cryptography library instead of m2crypto if anyone is looking for an alternative, especially for windows dev env.

mbaechtold commented 3 years ago

@shivaRamdeen, it would be great if you could create a pull request with your modifications from your fork. I'd appreciate switching to cryptography. What do you think?

wrvdklooster commented 2 years ago

Thanks for the library. Will there be a new release somewhere soon? Now using specific commit hash but referring to a version would be nice.

mbaechtold commented 2 years ago

It would be a good idea to tag the next release as 2.0.0 since it dropped support for Python 2 and is thus backwards incompatible.

philipptrenz commented 2 years ago

A 2.0.0 release using cryptography would be awesome, m2crypto causes big headache on macOS

shivaRamdeen commented 2 years ago

@shivaRamdeen, it would be great if you could create a pull request with your modifications from your fork. I'd appreciate switching to cryptography. What do you think?

Hey @mbaechtold I have not paid much attention to this repo since I made the fork. I'm happy to make the PR. will review for any compatibility issues and create the PR

mbaechtold commented 2 years ago

That would be awesome. I have created an issue for this: https://github.com/devartis/passbook/issues/59