Skip to content

Commit

Permalink
Merge branch 'main' into logenv
Browse files Browse the repository at this point in the history
  • Loading branch information
srikanthccv authored Dec 10, 2022
2 parents 55c17e9 + 0f9cfdd commit c1c06e2
Show file tree
Hide file tree
Showing 33 changed files with 46 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/public-api-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
python-version: 3.9

- name: Install tox
run: pip install -U tox-factor
run: pip install tox==3.27.1 -U tox-factor

- name: Public API Check
run: tox -e public-symbols-check
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
# Otherwise, set variable to the commit of your branch on
# opentelemetry-python-contrib which is compatible with these Core repo
# changes.
CONTRIB_REPO_SHA: main
CONTRIB_REPO_SHA: ce5dac763790203d68217cd3870b6be5517692fe
# This is needed because we do not clone the core repo in contrib builds anymore.
# When running contrib builds as part of core builds, we use actions/checkout@v2 which
# does not set an environment variable (simply just runs tox), which is different when
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
python-version: ${{ env[matrix.python-version] }}
architecture: 'x64'
- name: Install tox
run: pip install -U tox-factor
run: pip install tox==3.27.1 -U tox-factor
- name: Cache tox environment
# Preserves .tox directory between runs for faster installs
uses: actions/cache@v2
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
python-version: 3.9
architecture: 'x64'
- name: Install tox
run: pip install -U tox
run: pip install tox==3.27.1
- name: Cache tox environment
# Preserves .tox directory between runs for faster installs
uses: actions/cache@v2
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
python-version: ${{ env[matrix.python-version] }}
architecture: 'x64'
- name: Install tox
run: pip install -U tox-factor
run: pip install tox==3.27.1 -U tox-factor
- name: Cache tox environment
# Preserves .tox directory between runs for faster installs
uses: actions/cache@v2
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## Version 1.15.0/0.36b0 (2022-12-09)

- Regenerate opentelemetry-proto to be compatible with protobuf 3 and 4
([#3070](https://github.com/open-telemetry/opentelemetry-python/pull/3070))
- Rename parse_headers to parse_env_headers and improve error message
Expand Down
6 changes: 4 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ during their normal contribution hours.

This project uses [tox](https://tox.readthedocs.io) to automate
some aspects of development, including testing against multiple Python versions.
To install `tox`, run:
To install `tox`, run[^1]:

```console
$ pip install tox
$ pip install tox==3.27.1
```

[^1]: Right now we are experiencing issues with `tox==4.x.y`, so we recommend you use this version.

You can run `tox` with the following arguments:

- `tox` to run all existing tox commands, including unit tests for all packages
Expand Down
4 changes: 2 additions & 2 deletions eachdist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sortfirst=
exporter/*

[stable]
version=1.15.0.dev
version=1.16.0.dev

packages=
opentelemetry-sdk
Expand All @@ -30,7 +30,7 @@ packages=
opentelemetry-api

[prerelease]
version=0.36b0.dev
version=0.37b0.dev

packages=
opentelemetry-opentracing-shim
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
4 changes: 2 additions & 2 deletions exporter/opentelemetry-exporter-jaeger/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
"opentelemetry-exporter-jaeger-proto-grpc == 1.15.0.dev",
"opentelemetry-exporter-jaeger-thrift == 1.15.0.dev",
"opentelemetry-exporter-jaeger-proto-grpc == 1.16.0.dev",
"opentelemetry-exporter-jaeger-thrift == 1.16.0.dev",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.36b0.dev"
__version__ = "0.37b0.dev"
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies = [
"googleapis-common-protos ~= 1.52",
"grpcio >= 1.0.0, < 2.0.0",
"opentelemetry-api ~= 1.12",
"opentelemetry-proto == 1.15.0.dev",
"opentelemetry-proto == 1.16.0.dev",
"opentelemetry-sdk ~= 1.12",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies = [
"backoff >= 1.10.0, < 3.0.0; python_version>='3.7'",
"googleapis-common-protos ~= 1.52",
"opentelemetry-api ~= 1.12",
"opentelemetry-proto == 1.15.0.dev",
"opentelemetry-proto == 1.16.0.dev",
"opentelemetry-sdk ~= 1.12",
"requests ~= 2.7",
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
4 changes: 2 additions & 2 deletions exporter/opentelemetry-exporter-otlp/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
"opentelemetry-exporter-otlp-proto-grpc == 1.15.0.dev",
"opentelemetry-exporter-otlp-proto-http == 1.15.0.dev",
"opentelemetry-exporter-otlp-proto-grpc == 1.16.0.dev",
"opentelemetry-exporter-otlp-proto-http == 1.16.0.dev",
]

[project.entry-points.opentelemetry_logs_exporter]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.36b0.dev"
__version__ = "0.37b0.dev"
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [
]
dependencies = [
"opentelemetry-api ~= 1.3",
"opentelemetry-exporter-zipkin-json == 1.15.0.dev",
"opentelemetry-exporter-zipkin-json == 1.16.0.dev",
"opentelemetry-sdk ~= 1.11",
"protobuf ~= 3.12",
"requests ~= 2.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
4 changes: 2 additions & 2 deletions exporter/opentelemetry-exporter-zipkin/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
"opentelemetry-exporter-zipkin-json == 1.15.0.dev",
"opentelemetry-exporter-zipkin-proto-http == 1.15.0.dev",
"opentelemetry-exporter-zipkin-json == 1.16.0.dev",
"opentelemetry-exporter-zipkin-proto-http == 1.16.0.dev",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
2 changes: 1 addition & 1 deletion opentelemetry-api/src/opentelemetry/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
2 changes: 1 addition & 1 deletion opentelemetry-proto/src/opentelemetry/proto/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
4 changes: 2 additions & 2 deletions opentelemetry-sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
"opentelemetry-api == 1.15.0.dev",
"opentelemetry-semantic-conventions == 0.36b0.dev",
"opentelemetry-api == 1.16.0.dev",
"opentelemetry-semantic-conventions == 0.37b0.dev",
"setuptools >= 16.0",
"typing-extensions >= 3.7.4",
]
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-sdk/src/opentelemetry/sdk/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.36b0.dev"
__version__ = "0.37b0.dev"
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "1.15.0.dev"
__version__ = "1.16.0.dev"
2 changes: 1 addition & 1 deletion shim/opentelemetry-opentracing-shim/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies = [

[project.optional-dependencies]
test = [
"opentelemetry-test-utils == 0.36b0.dev",
"opentelemetry-test-utils == 0.37b0.dev",
"opentracing ~= 2.2.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.36b0.dev"
__version__ = "0.37b0.dev"
4 changes: 2 additions & 2 deletions tests/opentelemetry-test-utils/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ classifiers = [
]
dependencies = [
"asgiref ~= 3.0",
"opentelemetry-api == 1.15.0.dev",
"opentelemetry-sdk == 1.15.0.dev",
"opentelemetry-api == 1.16.0.dev",
"opentelemetry-sdk == 1.16.0.dev",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.36b0.dev"
__version__ = "0.37b0.dev"

0 comments on commit c1c06e2

Please sign in to comment.