File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ # Enable version updates for Python Deps
4+ - package-ecosystem : " pip"
5+ directory : " /"
6+ # Check for updates once a week
7+ schedule :
8+ interval : " weekly"
9+ # Maintain dependencies for GitHub Actions
10+ - package-ecosystem : " github-actions"
11+ directory : " /"
12+ schedule :
13+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : Code Quality
2+ on : [pull_request]
3+
4+ jobs :
5+ build :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v3
9+ - uses : actions/setup-python@v3
10+ with :
11+ python-version : 3.x
12+ - run : pip install --upgrade pip
13+ - run : pip install pylint
14+ - run : pylint --disable=all --enable=unused-import phe
Original file line number Diff line number Diff line change 1+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+ name : Unit Test
5+
6+ on :
7+ pull_request :
8+ branches :
9+ - " *"
10+
11+ jobs :
12+ build :
13+ runs-on : " ubuntu-latest"
14+ strategy :
15+ matrix :
16+ python-version : ["3.8", "3.9", "3.10"]
17+
18+ steps :
19+ - uses : actions/checkout@v3
20+ - name : Set up Python ${{ matrix.python-version }}
21+ uses : actions/setup-python@v3
22+ with :
23+ python-version : ${{ matrix.python-version }}
24+ - name : Install Dependencies
25+ shell : bash
26+ run : python -m pip install -r requirements.txt
27+ - name : Unit Test
28+ run : python setup.py test
Original file line number Diff line number Diff line change 1+ Version 1.5.0
2+ =============
3+
4+ - `mulmod ` now available with gmpy2 acceleration.
5+
16Version 1.4.1
27=============
38
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ python-paillier |release|
22==========================
33
44+---------------------+
5- | |travisM | |
5+ | |ciTest | |
66+---------------------+
77| |rtdM | |
88+---------------------+
@@ -69,9 +69,9 @@ https://code.google.com/p/encrypted-bigquery-client/
6969 :target: https://pypi.python.org/pypi/phe/
7070 :alt: Latest released version on PyPi
7171
72- .. |travisM | image :: https://travis-ci.org /data61/python-paillier. svg?branch=master
73- :target: https://travis-ci.org /data61/python-paillier
74- :alt: CI status of Master
72+ .. |ciTest | image :: https://github.com /data61/python-paillier/actions/workflows/test.yml/badge. svg
73+ :target: https://github.com /data61/python-paillier/actions/workflows/test.yml
74+ :alt: CI Status
7575
7676.. |reqM | image :: https://requires.io/github/data61/python-paillier/requirements.svg?branch=master
7777 :target: https://requires.io/github/data61/python-paillier/requirements/?branch=master
Original file line number Diff line number Diff line change 1010__uri__ = "https://github.com/data61/python-paillier"
1111
1212# We use semantic versioning - semver.org
13- __version__ = "1.4.1-dev0 "
13+ __version__ = "1.5.0 "
1414
1515__author__ = "CSIRO's Data61"
1616__email__ = "confidential-computing@data61.csiro.au"
Original file line number Diff line number Diff line change 11import json
22import random
3- import unittest
43from unittest import TestCase
54import tempfile
65
7- import io
8-
9- import sys
10- import click
116from click .testing import CliRunner
127
13- import phe .command_line
148from phe .command_line import cli
159
1610
Original file line number Diff line number Diff line change 4242 'Topic :: Security :: Cryptography' ,
4343 'Intended Audience :: Science/Research' ,
4444 'Programming Language :: Python :: 3' ,
45- 'Programming Language :: Python :: 3.4' ,
46- 'Programming Language :: Python :: 3.5' ,
47- 'Programming Language :: Python :: 3.6' ,
48- 'Programming Language :: Python :: 3.7'
45+ 'Programming Language :: Python :: 3.7' ,
46+ 'Programming Language :: Python :: 3.8' ,
47+ 'Programming Language :: Python :: 3.9' ,
48+ 'Programming Language :: Python :: 3.10' ,
49+ 'Programming Language :: Python :: 3.11' ,
4950 ],
5051 keywords = "cryptography encryption homomorphic" ,
5152 packages = find_packages (exclude = ['tests*' ]),
You can’t perform that action at this time.
0 commit comments