Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change License to Apache 2.0 #201

Closed
wants to merge 6 commits into from
Closed

Change License to Apache 2.0 #201

wants to merge 6 commits into from

Conversation

gdj0nes
Copy link
Contributor

@gdj0nes gdj0nes commented Sep 26, 2023

Update the License to Apache 2.0.

  • Update LICENSE
  • Remove per-file license headers

@gdj0nes gdj0nes requested a review from jhamon September 26, 2023 11:47
Copy link
Contributor

@austin-denoble austin-denoble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for getting the LICENSE updated for the Python client!

There's a lot of formatting changes in here, I'm assuming from running black or something? If they're not necessarily needed for adding the license we may want to back them out.

I'm assuming stripping out the copyright headers is all intentional though.

Testing is failing in CI currently because there's an indentation issue in pinecone/core/client/__init__.py which needs to be resolved.


"""
# flake8: noqa"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the beginning of the comment block needs to drop to the following line. This PR is failing testing in CI due to IndentationErrors in this file, looks like:

==================================== ERRORS ====================================
__________________ ERROR collecting tests/unit/test_config.py __________________
.tox/py38/lib/python3.8/site-packages/_pytest/python.py:578: in _importtestmodule
mod = import_path(self.fspath, mode=importmode)
.tox/py38/lib/python3.8/site-packages/_pytest/pathlib.py:524: in import_path
importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/importlib/init.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
:1014: in _gcd_import
???
:991: in _find_and_load
???
:975: in _find_and_load_unlocked
???
:671: in _load_unlocked
???
.tox/py38/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
exec(co, module.dict)
tests/unit/test_config.py:1: in
import pinecone
pinecone/init.py:2: in
from .config import *
pinecone/config.py:13: in
from pinecone.core.client.exceptions import ApiKeyError
E File "/home/runner/work/pinecone-python-client/pinecone-python-client/pinecone/core/client/init.py", line 4
E Pinecone API
E ^
E IndentationError: unexpected indent

@gdj0nes gdj0nes closed this Sep 27, 2023
@gdj0nes gdj0nes deleted the apache-2.0 branch September 27, 2023 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants