Skip to content

Commit ba1bac9

Browse files
authored
Merge pull request #47 from xmos/release/v2.0.1
Merge release/v2.0.1 into master
2 parents 1687d7b + 9848d83 commit ba1bac9

9 files changed

Lines changed: 73 additions & 13 deletions

File tree

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
lib_src change log
22
==================
33

4+
2.0.1
5+
-----
6+
7+
* CHANGED: Pin Python package versions
8+
* REMOVED: not necessary cpanfile
9+
410
2.0.0
511
-----
612

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@Library('xmos_jenkins_shared_library@develop') _
1+
@Library('xmos_jenkins_shared_library@v0.14.2') _
22

33
getApproval()
44

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Software Release License Agreement
22

3-
Copyright (c) 2016-2019, XMOS, All rights reserved.
3+
Copyright (c) 2016-2020, XMOS, All rights reserved.
44

55
BY ACCESSING, USING, INSTALLING OR DOWNLOADING THE XMOS SOFTWARE, YOU AGREE TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO THESE, DO NOT ATTEMPT TO DOWNLOAD, ACCESS OR USE THE XMOS Software.
66

Pipfile

Lines changed: 0 additions & 7 deletions
This file was deleted.

cpanfile

Lines changed: 0 additions & 2 deletions
This file was deleted.

lib_src/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Software Release License Agreement
22

3-
Copyright (c) 2016-2019, XMOS, All rights reserved.
3+
Copyright (c) 2016-2020, XMOS, All rights reserved.
44

55
BY ACCESSING, USING, INSTALLING OR DOWNLOADING THE XMOS SOFTWARE, YOU AGREE TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO THESE, DO NOT ATTEMPT TO DOWNLOAD, ACCESS OR USE THE XMOS Software.
66

lib_src/module_build_info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = 2.0.0
1+
VERSION = 2.0.1
22

33
DEPENDENT_MODULES = lib_logging(>=3.0.0) \
44
lib_xassert(>=4.0.0)

python/setup.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) 2020, XMOS Ltd, All rights reserved
2+
import setuptools
3+
4+
# Another repository might depend on python code defined in this one. The
5+
# procedure to set up a suitable python environment for that repository may
6+
# pip-install this one as editable using this setup.py file. To minimise the
7+
# chance of version conflicts while ensuring a minimal degree of conformity,
8+
# the 3rd-party modules listed here require the same major version and at
9+
# least the same minor version as specified in the requirements.txt file.
10+
# The same modules should appear in the requirements.txt file as given below.
11+
setuptools.setup(
12+
name='lib_src',
13+
packages=setuptools.find_packages(),
14+
install_requires=[
15+
'flake8~=3.8',
16+
'matplotlib~=3.3',
17+
'numpy~=1.18',
18+
'scipy~=1.4',
19+
],
20+
dependency_links=[
21+
],
22+
)

requirements.txt

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# python_version 3.7.6
2+
#
3+
# The parse_version_from_requirements() function in the installPipfile.groovy
4+
# file of the Jenkins Shared Library uses the python_version comment to set
5+
# the version of python used.
6+
7+
# Distributed (released) dependencies
8+
#
9+
# The python modules listed below specify a known working combination required
10+
# by the python code in this repository. The procedure used to set up a
11+
# suitable python environment for it installs the version of each module in
12+
# the list. Using a specific version ensures a controlled infrastructure for
13+
# development, testing and release of this repository.
14+
#
15+
# Another repository might depend on python code defined in this one. The
16+
# procedure to set up a suitable python environment for that repository may
17+
# pip-install this one as editable using this repository's setup.py file. The
18+
# same modules should appear in the setup.py list as given below.
19+
20+
flake8==3.8.3
21+
matplotlib==3.3.1
22+
23+
# Pin numpy to 1.18.5 due to tensorflow v2.1.1 hard pinning it to that version.
24+
numpy==1.18.5
25+
26+
# Pin scipy to 1.4.1 due to tensorflow v2.1.1 hard pinning it to that version.
27+
scipy==1.4.1
28+
29+
# Development dependencies
30+
#
31+
# Each link listed below specifies the path to a setup.py file which are
32+
# installed in editable mode with '-e $PATH' (without the quotes).
33+
#
34+
# If python code in this repository depends on python code under development
35+
# in another repository, then an entry for that other respository should
36+
# appear in this list instead of the released dependencies list.
37+
#
38+
# If this repository uses the setup functionality (e.g., script entry points)
39+
# of its own setup.py file, then this list must include an entry for that
40+
# setup.py file, e.g., '-e .' or '-e ./python' (without the quotes).
41+
-e ./python

0 commit comments

Comments
 (0)