Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
74d054a
changes without context
yoshi-automation Nov 17, 2020
d34bc05
chore(py_library): add split_system_tests
yoshi-automation Nov 17, 2020
531ab15
chore(py_library): add some excludes in docs/conf.py
yoshi-automation Nov 17, 2020
5d64a0b
chore(py-library): enable snippet-bot
yoshi-automation Nov 17, 2020
79d8825
chore(py-library): update decrypt secrets file
yoshi-automation Nov 17, 2020
058efe4
chore(python-library): use sphinx 1.5.5 for the docfx job
yoshi-automation Nov 17, 2020
b8cfd71
build(python): use release-publish app for notifying GitHub of releas…
yoshi-automation Nov 17, 2020
657ca3d
build(python): add secret manager in kokoro
yoshi-automation Nov 17, 2020
4b3cb96
chore(python): add sphinx doctest extension
yoshi-automation Nov 17, 2020
4b425e2
chore(python): remove note about editable installs
yoshi-automation Nov 17, 2020
86d636f
chore(python): skip reporting coverage for namespace package
yoshi-automation Nov 17, 2020
d428e50
chore(python): use BUILD_SPECIFIC_GCLOUD_PROJECT for samples
yoshi-automation Nov 17, 2020
7172e20
build(python): samples tests should pass if no samples exist
yoshi-automation Nov 17, 2020
538b77d
chore(python_library): change the docs bucket name
yoshi-automation Nov 17, 2020
0436edb
chore(docs): update code of conduct of synthtool and templates
yoshi-automation Nov 17, 2020
ab8074b
docs: add proto-plus to intersphinx mapping
yoshi-automation Nov 17, 2020
559ba0e
fix(python_library): fix external unit test dependencies
yoshi-automation Nov 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(python): remove note about editable installs
`pip install -e .` is supported and is how we install the library for tests.

Source-Author: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Source-Date: Tue Sep 22 12:06:12 2020 -0600
Source-Repo: googleapis/synthtool
Source-Sha: a651c5fb763c69a921aecdd3e1d8dc51dbf20f8d
Source-Link: googleapis/synthtool@a651c5f
  • Loading branch information
yoshi-automation committed Nov 17, 2020
commit 4b425e248d9eebb5730c40a9153d542d6ac7db8a
19 changes: 0 additions & 19 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,25 +80,6 @@ We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests.

.. nox: https://pypi.org/project/nox/

Note on Editable Installs / Develop Mode
========================================

- As mentioned previously, using ``setuptools`` in `develop mode`_
or a ``pip`` `editable install`_ is not possible with this
library. This is because this library uses `namespace packages`_.
For context see `Issue #2316`_ and the relevant `PyPA issue`_.

Since ``editable`` / ``develop`` mode can't be used, packages
need to be installed directly. Hence your changes to the source
tree don't get incorporated into the **already installed**
package.

.. _namespace packages: https://www.python.org/dev/peps/pep-0420/
.. _Issue #2316: https://github.com/GoogleCloudPlatform/google-cloud-python/issues/2316
.. _PyPA issue: https://github.com/pypa/packaging-problems/issues/12
.. _develop mode: https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode
.. _editable install: https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs

*****************************************
I'm getting weird errors... Can you help?
*****************************************
Expand Down
2 changes: 1 addition & 1 deletion synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "27f4406999b1eee29e04b09b2423a8e4646c7e24"
"sha": "a651c5fb763c69a921aecdd3e1d8dc51dbf20f8d"
}
}
],
Expand Down