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

Update readme, changelog and actions #11

Merged
merged 3 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
branches:
- main
- test
tags:
- 'v*'

env:
LIB_VERSION: '2024.1.2'
Expand All @@ -22,7 +24,7 @@ concurrency:

jobs:
build_macos_openssl:
runs-on: macos-11
runs-on: macos-13
strategy:
matrix:
ARCH:
Expand Down Expand Up @@ -60,7 +62,7 @@ jobs:
path: artifact/

build_macos_openssl_universal2:
runs-on: macos-11
runs-on: macos-13
name: "Build OpenSSL for macOS (universal2)"
needs: [build_macos_openssl]
steps:
Expand Down Expand Up @@ -90,7 +92,7 @@ jobs:

build_wheels_macos:
name: 'Build wheels for macOS'
runs-on: macos-11
runs-on: macos-13
strategy:
matrix:
arch: [arm64, x86_64, universal2]
Expand Down Expand Up @@ -215,15 +217,15 @@ jobs:
name: Upload to PyPI (test)
needs: [build_wheels_macos, build_wheels_linux, build_wheels_windows, build_sdist]
runs-on: ubuntu-20.04
if: github.event_name == 'push' && !(startsWith(github.ref_name, 'main'))
if: github.event_name == 'push' && !(startsWith(github.ref, 'refs/tags/v'))
steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: pypi-*
path: dist

- uses: pypa/gh-action-pypi-publish@v1.8.11
- uses: pypa/gh-action-pypi-publish@v1.10.3
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand All @@ -234,15 +236,15 @@ jobs:
name: Upload to PyPI (prod)
needs: [build_wheels_macos, build_wheels_linux, build_wheels_windows, build_sdist]
runs-on: ubuntu-20.04
if: github.event_name == 'push' && startsWith(github.ref_name, 'main')
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: pypi-*
path: dist

- uses: pypa/gh-action-pypi-publish@v1.8.11
- uses: pypa/gh-action-pypi-publish@v1.10.3
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 2024.1.2
- Fixes publishing issues

## 2024.1.1
- Move to python 3.11
- Update OpenSSL to v1.1.1w

## 2023.7.1
- Updates SQLCipher to v4.5.3
- Updates OpenSSL to v1.1.1u
- Fixes static linking for OpenSSL on macos

## 2023.5.1
- Move to python 3.10
- Update OpenSSL to v1.1.1t

## 2022.8.1
- Updates pysqlcipher3 submodule to pick the changes for Python 3.10 support.

Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# rotki-pysqlcipher3

![PyPI - Version](https://img.shields.io/pypi/v/rotki-pysqlcipher3)
![SQLCipher - Version](https://img.shields.io/badge/SQLCipher-v4.5.3-green)
![SQLite - Version](https://img.shields.io/badge/SQLite-3.39.4-green)
![OpenSSL - Version](https://img.shields.io/badge/OpenSSL-1.1.1w-green)



Configuration for providing pre-build [pysqlcipher3](https://github.com/rigglemania/pysqlcipher3) wheels for [rotki](https://github.com/rotki/rotki).

## Description
Expand All @@ -25,7 +32,7 @@ For the submodules their respective licenses apply.
```
MIT License

Copyright (c) 2022-2023 Rotki Solutions GmbH
Copyright (c) 2022-2024 Rotki Solutions GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down