Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Check that API package installs #34

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

Closed
wants to merge 11 commits into from

Conversation

c24t
Copy link
Member

@c24t c24t commented Jun 26, 2019

WIP for now to test travis builds, don't merge this!

@c24t c24t added the WIP Work in progress label Jun 26, 2019
@@ -0,0 +1,12 @@
[tox]
Copy link
Member

Choose a reason for hiding this comment

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

Curious, given we will have other packages (e.g. opentelemetry-sdk) under this repo, do we want to have a single global tox, or a tox file per package?

Copy link
Member

Choose a reason for hiding this comment

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

I don't know what best practises are here, but I'd imagine we will have quite some code/config duplication with multiple toxfiles 🤔 I think OpenCensus-python used nox, maybe that tool is better in this regard?

Copy link
Member Author

Choose a reason for hiding this comment

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

From a conversation with @reyang: nox gives us a combined coverage report if we have branches that depend on python version, but tox made it easier to run tests in parallel on travis. We'll stick with tox and burn the coverage bridge when we come to it.

I don't know whether it'll be easier to have one or multiple tox files. It does make it easier now to have it under opentelemetry-api since there's no code yet to check in the SDK.

@@ -1,12 +1,14 @@
[tox]
skipsdist = True
envlist = py37-lint, py37-mypy
envlist = py{34,35,36,37}-unit, py37-lint, py37-mypy
Copy link
Contributor

@lzchen lzchen Jul 7, 2019

Choose a reason for hiding this comment

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

If there is going to be multiple tox files, is the idea to have a different build per package? I think we need to define what makes sense in the project structure to "build differently".

Copy link
Member Author

Choose a reason for hiding this comment

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

Still TBD, I don't have an opinion on this.

@@ -9,7 +9,7 @@ install:
- pip install tox-travis

script:
- tox
- (cd opentelemetry-api; tox)
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wondering, is this part of the WIP or are we only building what is inside the api package?

Copy link
Member Author

Choose a reason for hiding this comment

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

We'll eventually build everything, for now only API has code to build.

@Oberon00
Copy link
Member

Oberon00 commented Sep 6, 2019

I think this was taken care of in #122, consider closing this, @c24t.

@c24t c24t closed this Oct 31, 2019
@c24t c24t deleted the check-install branch October 31, 2019 22:26
srikanthccv pushed a commit to srikanthccv/opentelemetry-python that referenced this pull request Nov 1, 2020
…en-telemetry#34)

* reorder compiler options

* update target to ensure compilation does not alter generated code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants