Skip to content

Commit e90d66c

Browse files
committed
Drop support for Python 2
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 2f4f871 commit e90d66c

34 files changed

+219
-961
lines changed

.travis.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
11
language: python
22

33
python:
4-
- "2.7"
54
- "3.6"
65

76
install:
87
- ./configure etc/conf/dev
98

109
script:
1110
- bin/py.test -vvs
12-
13-
notifications:
14-
irc:
15-
channels:
16-
- "chat.freenode.net#aboutcode"
17-
on_success: change
18-
on_failure: always
19-
use_notice: true
20-
skip_join: true
21-
template:
22-
- "%{repository_slug}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} : %{build_url}"

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2020 nexB Inc. http://www.nexb.com/ - All rights reserved.
1+
Copyright (c) nexB Inc. http://www.nexb.com/ - All rights reserved.
22
Licensed under the Apache License, Version 2.0 (the "License");
33
you may not use this file except in compliance with the License.
44
You may obtain a copy of the License at

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ In addition, this tool is able to generate attribution notices and
2020
identify redistributable source code used in your project to help you comply
2121
with open source licenses conditions.
2222

23-
This version of the AboutCode Toolkit follows the ABOUT specification version 3.1.4 at:
23+
This version of the AboutCode Toolkit follows the ABOUT specification version 3.2.1 at:
2424
https://github.com/nexB/aboutcode-toolkit/blob/develop/SPECIFICATION.rst
2525

2626

@@ -38,7 +38,7 @@ Build and tests status
3838

3939
REQUIREMENTS
4040
------------
41-
The AboutCode Toolkit is tested with Python 2.7 and 3.6 on Linux, Mac and Windows.
41+
The AboutCode Toolkit is tested with Python 3 only on Linux, Mac and Windows.
4242
You will need to install a Python interpreter if you do not have one already
4343
installed.
4444

about.ABOUT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
about_resource: .
22
name: AboutCode-toolkit
3-
version: 5.1.0
3+
version: 6.0.0
44
author: Jillian Daguil, Chin Yeung Li, Philippe Ombredanne, Thomas Druez
55
copyright: Copyright (c) 2013-2020 nexB Inc.
66
description: |

about.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo OFF
2-
@rem Copyright (c) 2014 nexB Inc. http://www.nexb.com/ - All rights reserved.
2+
@rem Copyright (c) nexB Inc. http://www.nexb.com/ - All rights reserved.
33
@rem
44

55

appveyor.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,3 @@ test_script:
99
- set
1010
- bin/activate
1111
- pytest -vvs tests
12-
13-
on_success:
14-
- "python etc/scripts/irc-notify.py aboutcode [{project_name}:{branch}] {short_commit}: \"{message}\" ({author}) {color_green}Succeeded,Details: {build_url},Commit: {commit_url}"
15-
16-
on_failure:
17-
- "python etc/scripts/irc-notify.py aboutcode [{project_name}:{branch}] {short_commit}: \"{message}\" ({author}) {color_red}Failed,Details: {build_url},Commit: {commit_url}"

etc/conf/base.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ pip
66
wincertstore
77

88
# used for templating
9-
jinja2>=2.9.6
10-
MarkupSafe>=1.0.0
9+
jinja2
10+
MarkupSafe
1111

12-
click==6.7
12+
click
1313

1414
# used by schematics
1515
six
1616

17-
PyYAML >= 3.0, < 4.0
17+
saneyaml
1818
attrs
1919

2020
# license expression support

etc/conf/win.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

etc/configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python
22

3-
# Copyright (c) 2018 nexB Inc. http://www.nexb.com/ - All rights reserved.
3+
# Copyright (c) nexB Inc. http://www.nexb.com/ - All rights reserved.
44

55
"""
66
This script is a configuration helper to select pip requirement files to install

etc/scripts/gpl-2.0.LICENSE

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

0 commit comments

Comments
 (0)