Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Commit bce24f0

Browse files
authored
Merge pull request #70 from aeternity/release/0.24.0.2
Release/0.24.0.2
2 parents 35ef090 + bd7fa6d commit bce24f0

20 files changed

+46
-19
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
55

66
## [Unreleased]
77

8+
## [0.24.0.2]
9+
10+
### Fixed
11+
12+
- Fix for [CVE-2018-18074](https://nvd.nist.gov/vuln/detail/CVE-2018-18074)
13+
814
## [0.24.0.1]
915

1016
### Removed

Jenkinsfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,35 @@ pipeline {
44
filename 'Dockerfile.ci'
55
args '-v /etc/group:/etc/group:ro ' +
66
'-v /etc/passwd:/etc/passwd:ro ' +
7-
'-v /var/lib/jenkins:/var/lib/jenkins ' +
7+
'-v /home/jenkins:/home/jenkins ' +
88
'-v /usr/bin/docker:/usr/bin/docker:ro ' +
99
'--network=host'
1010
}
1111
}
1212

1313
environment {
1414
DOCKER_COMPOSE = "docker-compose -p ${env.BUILD_TAG} -H 127.0.0.1:2376"
15+
SCANNER_HOME = tool 'default-sonarqube-scanner'
1516
}
1617

1718
stages {
18-
1919
stage('Test') {
20-
steps {
20+
steps {
2121
withCredentials([usernamePassword(credentialsId: 'genesis-wallet',
2222
usernameVariable: 'WALLET_PUB',
2323
passwordVariable: 'WALLET_PRIV')]) {
2424
sh "${env.DOCKER_COMPOSE} run sdk flake8"
25-
sh "${env.DOCKER_COMPOSE} run sdk pytest --junitxml test-results.xml aeternity/tests"
25+
sh "${env.DOCKER_COMPOSE} run sdk make test"
26+
// run sonar?
27+
// withSonarQubeEnv('default-sonarqube-server') {
28+
// sh "${env.SCANNER_HOME}/bin/sonar-scanner -X"
29+
// }
2630
}
2731
}
2832
}
2933

34+
35+
3036
stage('Publish') {
3137
when {
3238
buildingTag()

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test: test-all
2020

2121
test-all:
2222
@echo run pytest
23-
pytest
23+
pytest --junitxml test-results.xml tests --cov=aeternity --cov-config .coveragerc --cov-report xml:coverage.xml
2424
@echo done
2525

2626
lint: lint-all

aeternity/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '0.24.0.1'
1+
__version__ = '0.24.0.2'
22

33
__compatibility__ = [
44
'0.24.0'

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
pytest==3.5.0
2+
pytest-cov==2.6.0
23
base58==0.2.5
34
click==6.7
45
cryptography==2.3
56
deprecation==2.0.5
67
flake8==3.5.0
78
rlp==0.6.0
89
PyNaCl==1.2.1
9-
requests==2.18.4
10+
requests==2.20.0
1011
websocket_client==0.48.0
1112
validators==0.12.1
1213
eth-keyfile==0.5.1

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def get_version():
4747
'cryptography == 2.3',
4848
'rlp == 0.6.0',
4949
'PyNaCl == 1.2.1',
50-
'requests == 2.18.4',
50+
'requests == 2.20.0',
5151
'websocket_client == 0.48.0',
5252
'validators == 0.12.1',
5353
'eth-keyfile == 0.5.1'
@@ -56,7 +56,7 @@ def get_version():
5656
'Programming Language :: Python',
5757
'Programming Language :: Python :: 3.5',
5858
'Development Status :: 4 - Beta',
59-
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
59+
'License :: OSI Approved :: ISC License (ISCL)',
6060
'Intended Audience :: Developers',
6161
'Operating System :: OS Independent',
6262
],

sonar-project.properties

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
sonar.projectKey=aeternity:aepp-sdk-python
2+
sonar.projectName=Python :: Aeternity SDK
3+
sonar.projectVersion=0.24.0.1
4+
5+
sonar.sources=aeternity
6+
sonar.tests=tests
7+
sonar.language=py
8+
9+
sonar.python.xunit.reportPath=test-results.xml
10+
sonar.python.coverage.reportPath=coverage.xml
11+
12+
sonar.links.scm=https://github.com/aeternity/aepp-sdk-python.git
13+
sonar.links.scm_dev=[email protected]:aeternity/aepp-sdk-python.git
14+
#sonar.python.pylint=/usr/local/bin/pylint - the path to the pylin, if you want to include some quality rules from it
File renamed without changes.

aeternity/tests/test_aens.py renamed to tests/test_aens.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from aeternity.aens import AEName
2-
from aeternity.tests import EPOCH_CLI, ACCOUNT, random_domain
2+
from tests import EPOCH_CLI, ACCOUNT, random_domain
33

44
from pytest import raises
55

aeternity/tests/test_api.py renamed to tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from aeternity.tests import PUBLIC_KEY, EPOCH_VERSION, ACCOUNT, EPOCH_CLI
1+
from tests import PUBLIC_KEY, EPOCH_VERSION, ACCOUNT, EPOCH_CLI
22
from aeternity.signing import Account
33
from aeternity import openapi
44

0 commit comments

Comments
 (0)