Please make a new PyPi release

Open
#81 3 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
release

Research direction

Review oscrypto/_openssl/_libcrypto_ctypes.py and oscrypto/_openssl/_libcrypto_cffi.py to confirm the unreleased OpenSSL compatibility change, then inspect the repository's release process. Done means a new oscrypto version is published on PyPI and can be installed with pip for Python 3.11.8 and OpenSSL 3.0.11.

Written by the indexing model from the issue text.

Description

1. Ask

New release please

2. Issue

I'm having an issue using oscrypto version 1.3.0 (python 3.11.8) on a machine with OpenSSL 3.0.11 .

The root cause looks to be with oscrypto/_openssl/_libcrypto_ctypes.py and oscrypto/_openssl/_libcrypto_cffi.py while attempting to get the OpenSSL version.

For example with _libcrypto_ctypes.py, the regex for version 1.3.0 as installed from pypi won't be able to recognize the version in string "OpenSSL 3.0.11 19 Sep 2023" (code link). Looking at what's currently in master branch, the regex has been improved since (code link). But there's no release so I can't install it with pip in my automated build.

I do not want to downgrade my OpenSSL. I haven't tried upgrading OpenSSL but I suspect the same error will occur.

3. Acceptance Criteria

A new release on PyPi of oscrypto

Dominant language
Python
Stars
346
Forks
82
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wbond/oscrypto

All issues in wbond/oscrypto

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.