<commit_before>{% set version = "0.7.10" %}

package:
  name: opencensus
  version: {{ version }}

source:
  url: https://github.com/census-instrumentation/opencensus-python/archive/v{{ version }}.zip
  sha256: 4ea0b5bac55c62f9ca5ddccc5acf8160c3575bf58bc5dab7bcb1f5a9cc578e71

build:
  number: 0
  script: "{{ PYTHON }} -m pip install . -vv"

requirements:
  host:
    - python
    - pip
  run:
    - python
    - opencensus-context
    - google-api-core

test:
  requires:
    - pytest
    - mock
    - retrying
    - unittest2
  source_files:
    - tests
  imports:
    - opencensus
  commands:
    - py.test tests/unit \
        -k 'not tests/unit/common/test_schedule.py::TestQueue::test_gets_event' \
        -k 'not tests/unit/metrics/test_transport.py::TestPeriodicMetricTask::test_periodic_task' \
        -k 'not tests/unit/metrics/test_transport.py::TestGetExporterThreadPeriodic::test_multiple_producers' \
        -k 'not tests/unit/metrics/test_transport.py::TestGetExporterThreadPeriodic::test_threaded_export'


about:
  home: https://github.com/census-instrumentation/opencensus-python
  license: Apache-2.0
  license_file: LICENSE
  summary: OpenCensus - A stats collection and distributed tracing framework
  description: |<commit_msg>skip tests that require specific setup<commit_after>{% set version = "0.7.10" %}

package:
  name: opencensus
  version: {{ version }}

source:
  url: https://github.com/census-instrumentation/opencensus-python/archive/v{{ version }}.zip
  sha256: 4ea0b5bac55c62f9ca5ddccc5acf8160c3575bf58bc5dab7bcb1f5a9cc578e71

build:
  number: 0
  script: "{{ PYTHON }} -m pip install . -vv"

requirements:
  host:
    - python
    - pip
  run:
    - python
    - opencensus-context
    - google-api-core

test:
  requires:
    - pytest
    - mock
    - retrying
    - unittest2
  source_files:
    - tests
  imports:
    - opencensus
  commands:
    - py.test tests/unit -k 'not gets_event and not periodic_task and not multiple_producers and not threaded_export'

about:
  home: https://github.com/census-instrumentation/opencensus-python
  license: Apache-2.0
  license_file: LICENSE
  summary: OpenCensus - A stats collection and distributed tracing framework
  description: |
{'fraction_non_alphanumeric': 0.10585585585585586, 'fraction_numerical': 0.036936936936936934, 'mean_word_length': 3.287644787644788, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3193840', 'n_tokens_mistral': 820, 'n_tokens_neox': 784, 'n_words': 155}