[
https://issues.apache.org/jira/browse/BEAM-9136?focusedWorklogId=415003&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-415003
]
ASF GitHub Bot logged work on BEAM-9136:
----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Apr/20 19:41
Start Date: 02/Apr/20 19:41
Worklog Time Spent: 10m
Work Description: Hannah-Jiang commented on pull request #11067:
[BEAM-9136]Add licenses for dependencies for Python
URL: https://github.com/apache/beam/pull/11067#discussion_r402565965
##########
File path: sdks/python/container/license_scripts/dep_urls_py.yaml
##########
@@ -0,0 +1,118 @@
+#
+# 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 files cannot be pulled with
pip-licenses tool.
+ # pip-licenses scans site-packages/ directory to get a list of packages
installed and their licenses.
+ # For packages that do not include licenses in their distribution, we need
to manually
+ # provide license files in ./manual_licences/, or provide a url where they
can be downloaded from.
+ # We need to manually configure licenses for a dependency if pip-licenses
fails to retrieve
+ # the license file under any Python version we support.
+
+ # template:
+ # dependency_name:
+ # license: url_to_license or "skip"
+ # # skip: don't add license for the dependency
+ # # url_to_license: a url to source code (https://...) or a local file
(file://...)
+ # notice: it's optional, url_to_notice
+ apache-beam:
+ license: "skip" # don't include self dependency.
+ # TODO(BEAM-8371): License for this dependency cannot be automatically
retrieved on Python 2.
+ 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:
"https://bitbucket.org/stoneleaf/enum34/raw/c208549a93b71b948ff7bbdfd29dce8f85527916/enum/LICENSE"
+ 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/nose/master/lgpl.txt"
Review comment:
I agree with it. I will create a new PR to test behaviors when we remove
dependencies.
----------------------------------------------------------------
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: 415003)
Time Spent: 15h 40m (was: 15.5h)
> 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: 15h 40m
> 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)