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

[pre-release] Update changelogs, version [0.16b0] #204

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
37 changes: 37 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Contrib Publish Packages

on:
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Copy link
Contributor

Choose a reason for hiding this comment

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

I haven't used v1 yet, every time I've used this it's uses: actions/checkout@v2 as in test.yml! Might as well use a newer version? (if that's what this means).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This could be updated, but i just used what was already there in the core repo.

- uses: actions/setup-python@v1
with:
python-version: '3.7'
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm okay with Python 3.7, but just wondering if there's a reason why it can't be 3.8 or 3.9?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No particular reason. This is a straight copy of the publish action in the core repo

- name: Build wheels
run: ./scripts/build.sh
- name: Install twine
run: |
pip install twine
# The step below publishes to testpypi in order to catch any issues
# with the package configuration that would cause a failure to upload
# to pypi. One example of such a failure is if a classifier is
# rejected by pypi (e.g "3 - Beta"). This would cause a failure during the
# middle of the package upload causing the action to fail, and certain packages
# might have already been updated, this would be bad.
- name: Publish to TestPyPI
env:
TWINE_USERNAME: '__token__'
TWINE_PASSWORD: ${{ secrets.test_pypi_token }}
run: |
twine upload --repository testpypi --skip-existing --verbose dist/*
- name: Publish to PyPI
env:
TWINE_USERNAME: '__token__'
TWINE_PASSWORD: ${{ secrets.pypi_password }}
run: |
twine upload --skip-existing --verbose dist/*
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'release/*'
pull_request:
env:
CORE_REPO_SHA: 3b813eb9921e709538dd1b07fa7a5f93600fbec1
CORE_REPO_SHA: d1e87623db1779f809af5566581e9cb44a6807b4

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion _template/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ package_dir=
packages=find_namespace:

install_requires =
opentelemetry-api == 0.16.dev0
opentelemetry-api == 0.16b0

[options.extras_require]
test =
Expand Down
2 changes: 1 addition & 1 deletion _template/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__ = "0.16.dev0"
__version__ = "0.16b0"
4 changes: 2 additions & 2 deletions exporter/opentelemetry-exporter-datadog/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ package_dir=
packages=find_namespace:
install_requires =
ddtrace>=0.34.0
opentelemetry-api == 0.16.dev0
opentelemetry-sdk == 0.16.dev0
opentelemetry-api == 0.16b0
opentelemetry-sdk == 0.16b0

[options.packages.find]
where = src
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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ package_dir=
=src
packages=find_namespace:
install_requires =
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation == 0.16.dev0
opentelemetry-api == 0.16b0
opentelemetry-instrumentation == 0.16b0
aiohttp ~= 3.0
wrapt >= 1.0.0, < 2.0.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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ package_dir=
=src
packages=find_namespace:
install_requires =
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation-dbapi == 0.16.dev0
opentelemetry-instrumentation == 0.16.dev0
opentelemetry-api == 0.16b0
opentelemetry-instrumentation-dbapi == 0.16b0
opentelemetry-instrumentation == 0.16b0
aiopg >= 0.13.0
wrapt >= 1.0.0, < 2.0.0

[options.extras_require]
test =
opentelemetry-test == 0.16.dev0
opentelemetry-test == 0.16b0

[options.packages.find]
where = src
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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ package_dir=
=src
packages=find_namespace:
install_requires =
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation == 0.16.dev0
opentelemetry-api == 0.16b0
opentelemetry-instrumentation == 0.16b0
asgiref ~= 3.0

[options.extras_require]
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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ package_dir=
=src
packages=find_namespace:
install_requires =
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation == 0.16.dev0
opentelemetry-api == 0.16b0
opentelemetry-instrumentation == 0.16b0
asyncpg >= 0.12.0

[options.extras_require]
test =
opentelemetry-test == 0.16.dev0
opentelemetry-test == 0.16b0

[options.packages.find]
where = src
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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ package_dir=
packages=find_namespace:
install_requires =
boto ~= 2.0
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation == 0.16.dev0
opentelemetry-instrumentation-botocore == 0.16.dev0
opentelemetry-api == 0.16b0
opentelemetry-instrumentation == 0.16b0
opentelemetry-instrumentation-botocore == 0.16b0

[options.extras_require]
test =
boto~=2.0
moto~=1.0
opentelemetry-test == 0.16.dev0
opentelemetry-test == 0.16b0

[options.packages.find]
where = src
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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

## Unreleased

## Version 0.16b0

Released 2020-11-23
- Add propagator injection for botocore calls
([#181](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/181))
- Make botocore instrumentation check if instrumentation has been suppressed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ package_dir=
packages=find_namespace:
install_requires =
botocore ~= 1.0
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation == 0.16.dev0
opentelemetry-api == 0.16b0
opentelemetry-instrumentation == 0.16b0

[options.extras_require]
test =
moto ~= 1.0
opentelemetry-test == 0.16.dev0
opentelemetry-test == 0.16b0

[options.packages.find]
where = src
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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ package_dir=
=src
packages=find_namespace:
install_requires =
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation == 0.16.dev0
opentelemetry-api == 0.16b0
opentelemetry-instrumentation == 0.16b0
celery ~= 4.0

[options.extras_require]
test =
pytest
celery ~= 4.0
opentelemetry-test == 0.16.dev0
opentelemetry-test == 0.16b0

[options.packages.find]
where = src
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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## Version 0.16b0

Released 2020-11-23

- Update dbapi and its dependant instrumentations to follow semantic conventions
([#195](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/195))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ package_dir=
=src
packages=find_namespace:
install_requires =
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation == 0.16.dev0
opentelemetry-api == 0.16b0
opentelemetry-instrumentation == 0.16b0
wrapt >= 1.0.0, < 2.0.0

[options.extras_require]
test =
opentelemetry-test == 0.16.dev0
opentelemetry-test == 0.16b0

[options.packages.find]
where = src
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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ package_dir=
packages=find_namespace:
install_requires =
django >= 1.10
opentelemetry-instrumentation-wsgi == 0.16.dev0
opentelemetry-instrumentation == 0.16.dev0
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation-wsgi == 0.16b0
opentelemetry-instrumentation == 0.16b0
opentelemetry-api == 0.16b0

[options.extras_require]
test =
opentelemetry-test == 0.16.dev0
opentelemetry-test == 0.16b0

[options.packages.find]
where = src
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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ package_dir=
=src
packages=find_namespace:
install_requires =
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation == 0.16.dev0
opentelemetry-api == 0.16b0
opentelemetry-instrumentation == 0.16b0
wrapt >= 1.0.0, < 2.0.0
elasticsearch >= 2.0

[options.extras_require]
test =
opentelemetry-test == 0.16.dev0
opentelemetry-test == 0.16b0
elasticsearch-dsl >= 2.0

[options.packages.find]
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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ package_dir=
packages=find_namespace:
install_requires =
falcon ~= 2.0
opentelemetry-instrumentation-wsgi == 0.16.dev0
opentelemetry-instrumentation == 0.16.dev0
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation-wsgi == 0.16b0
opentelemetry-instrumentation == 0.16b0
opentelemetry-api == 0.16b0

[options.extras_require]
test =
falcon ~= 2.0
opentelemetry-test == 0.16.dev0
opentelemetry-test == 0.16b0
parameterized == 0.7.4

[options.packages.find]
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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ package_dir=
=src
packages=find_namespace:
install_requires =
opentelemetry-api == 0.16.dev0
opentelemetry-instrumentation-asgi == 0.16.dev0
opentelemetry-api == 0.16b0
opentelemetry-instrumentation-asgi == 0.16b0

[options.entry_points]
opentelemetry_instrumentor =
fastapi = opentelemetry.instrumentation.fastapi:FastAPIInstrumentor

[options.extras_require]
test =
opentelemetry-test == 0.16.dev0
opentelemetry-test == 0.16b0
fastapi ~= 0.58.1
requests ~= 2.23.0 # needed for testclient

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.16.dev0"
__version__ = "0.16b0"
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## Version 0.16b0

Released 2020-11-23

- Add span name callback
([#152](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/152))

Expand Down
Loading