[
https://issues.apache.org/jira/browse/BEAM-9136?focusedWorklogId=412300&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-412300
]
ASF GitHub Bot logged work on BEAM-9136:
----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Mar/20 12:31
Start Date: 30/Mar/20 12:31
Worklog Time Spent: 10m
Work Description: tvalentyn commented on pull request #11067:
[BEAM-9136]Add licenses for dependencies for Python
URL: https://github.com/apache/beam/pull/11067#discussion_r399714567
##########
File path: sdks/python/container/license_scripts/dep_urls_py.yaml
##########
@@ -0,0 +1,116 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+pip_dependencies:
+ # this is a list of packages whose license cannot be pulled with
pip-licenses tool.
+ # pip-licenses scans site-packages/ directory to get a list of packages
installed.
+ # for the packages who missing licenses in distributed package should be
pulled from a url or manually added.
+ # An entry is needed if license cannot be pull with pip-licenses in ANY
Python environment.
+
+ # template:
+ # dependency_name:
+ # license: url_to_license, "skip" or "manual"
+ # # skip: don't add license for the dependency
+ # # manual: license is manually added. The license is copied from
manual_licenses/{dep}/LICENSE.
+ # notice: it's optional, url_to_notice
+ apache-beam:
+ license: "skip" # don't include self dependency.
+ appdirs:
+ license:
"https://raw.githubusercontent.com/ActiveState/appdirs/master/LICENSE.txt"
+ avro:
+ license: "https://raw.githubusercontent.com/apache/avro/master/LICENSE.txt"
+ notice: "https://raw.githubusercontent.com/apache/avro/master/NOTICE.txt"
+ avro-python3:
+ license: "https://raw.githubusercontent.com/apache/avro/master/LICENSE.txt"
+ notice: "https://raw.githubusercontent.com/apache/avro/master/NOTICE.txt"
+ backports.weakref:
+ license:
"https://raw.githubusercontent.com/PiDelport/backports.weakref/master/LICENSE"
+ chardet:
+ license: "https://raw.githubusercontent.com/chardet/chardet/master/LICENSE"
+ certifi:
+ license:
"https://raw.githubusercontent.com/certifi/python-certifi/master/LICENSE"
+ cython:
+ license:
"https://raw.githubusercontent.com/cython/cython/master/LICENSE.txt"
+ enum34:
+ license: "manual"
+ fastavro:
+ license:
"https://raw.githubusercontent.com/fastavro/fastavro/master/LICENSE"
+ notice:
"https://raw.githubusercontent.com/fastavro/fastavro/master/NOTICE.txt"
+ funcsigs:
+ license: "https://raw.githubusercontent.com/aliles/funcsigs/master/LICENSE"
+ futures:
+ license:
"https://raw.githubusercontent.com/agronholm/pythonfutures/master/LICENSE"
+ google-apitools:
+ license: "https://raw.githubusercontent.com/google/apitools/master/LICENSE"
+ googledatastore:
+ license:
"https://raw.githubusercontent.com/GoogleCloudPlatform/google-cloud-datastore/master/LICENSE"
+ grpcio:
+ license: "https://raw.githubusercontent.com/grpc/grpc/master/LICENSE"
+ notice: "https://raw.githubusercontent.com/grpc/grpc/master/NOTICE.txt"
+ grpcio-gcp:
+ license:
"https://raw.githubusercontent.com/GoogleCloudPlatform/grpc-gcp-python/master/LICENSE"
+ guppy:
+ license:
"https://raw.githubusercontent.com/joshwcomeau/guppy/master/LICENSE.md"
+ guppy3:
+ license:
"https://raw.githubusercontent.com/zhuyifei1999/guppy3/master/LICENSE"
+ h5py:
+ license: "https://raw.githubusercontent.com/h5py/h5py/master/LICENSE"
+ hdfs:
+ license: "https://raw.githubusercontent.com/mtth/hdfs/master/LICENSE"
+ httplib2:
+ license:
"https://raw.githubusercontent.com/httplib2/httplib2/master/LICENSE"
+ mock:
+ license:
"https://raw.githubusercontent.com/testing-cabal/mock/master/LICENSE.txt"
+ monotonic:
+ license: "https://raw.githubusercontent.com/atdt/monotonic/master/LICENSE"
+ nose:
+ license:
"https://raw.githubusercontent.com/nose-devs/nose2/master/license.txt"
+ numpy:
+ license: "https://raw.githubusercontent.com/numpy/numpy/master/LICENSE.txt"
+ oauth2client:
+ license:
"https://raw.githubusercontent.com/googleapis/oauth2client/master/LICENSE"
+ pandas:
+ license:
"https://raw.githubusercontent.com/pandas-dev/pandas/master/LICENSE"
+ pathlib2:
+ license:
"https://raw.githubusercontent.com/mcmtroffaes/pathlib2/develop/LICENSE.rst"
+ protobuf:
+ license:
"https://raw.githubusercontent.com/protocolbuffers/protobuf/master/LICENSE"
+ protorpc:
+ license: "https://raw.githubusercontent.com/google/protorpc/master/LICENSE"
+ pyarrow:
+ license:
"https://raw.githubusercontent.com/apache/arrow/master/LICENSE.txt"
+ notice: "https://raw.githubusercontent.com/apache/arrow/master/NOTICE.txt"
+ pyhamcrest:
+ license:
"https://raw.githubusercontent.com/hamcrest/PyHamcrest/master/LICENSE.txt"
+ pymongo:
+ license:
"https://raw.githubusercontent.com/mongodb/mongo-python-driver/master/LICENSE"
+ python-gflags:
+ license: "manual"
+ notice:
"https://raw.githubusercontent.com/google/python-gflags/master/COPYING"
Review comment:
I think this is the license actually (looks like one of BSD licenses), so we
can switch this to:
```
license:
"https://raw.githubusercontent.com/google/python-gflags/master/COPYING"
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 412300)
> Add LICENSES and NOTICES to docker images
> -----------------------------------------
>
> Key: BEAM-9136
> URL: https://issues.apache.org/jira/browse/BEAM-9136
> Project: Beam
> Issue Type: Task
> Components: build-system
> Reporter: Hannah Jiang
> Assignee: Hannah Jiang
> Priority: Major
> Time Spent: 11h 50m
> Remaining Estimate: 0h
>
> Scan dependencies and add licenses and notices of the dependencies to SDK
> docker images.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)