<commit_before>parameters:
  vmImage:

jobs:
- job: Package
  dependsOn:
    - Test_Primary
    - Test_Secondary
  pool:
    vmImage: ${{ parameters.vmImage }}

  steps:
  - task: UsePythonVersion@0
    displayName: Use Python 3 latest
    inputs:
      versionSpec: '3'

  - bash: pip install setuptools tox wheel invoke towncrier
    displayName: Install dependencies

  - bash: invoke generate.authors
    displayName: Generate AUTHORS.txt

  - bash: invoke generate.news --yes
    displayName: Generate NEWS.rst

  - bash: tox -e packaging
    displayName: Run Tox packaging

  - bash: python setup.py sdist bdist_wheel
    displayName: Create sdist and wheel

  - task: PublishBuildArtifacts@1
    displayName: 'Publish Artifact: dist'
    inputs:
      pathtoPublish: dist
      artifactName: dist
<commit_msg>Add requests to our packaging dependencies<commit_after>parameters:
  vmImage:

jobs:
- job: Package
  dependsOn:
    - Test_Primary
    - Test_Secondary
  pool:
    vmImage: ${{ parameters.vmImage }}

  steps:
  - task: UsePythonVersion@0
    displayName: Use Python 3 latest
    inputs:
      versionSpec: '3'

  - bash: pip install setuptools tox wheel invoke towncrier requests
    displayName: Install dependencies

  - bash: invoke generate.authors
    displayName: Generate AUTHORS.txt

  - bash: invoke generate.news --yes
    displayName: Generate NEWS.rst

  - bash: tox -e packaging
    displayName: Run Tox packaging

  - bash: python setup.py sdist bdist_wheel
    displayName: Create sdist and wheel

  - task: PublishBuildArtifacts@1
    displayName: 'Publish Artifact: dist'
    inputs:
      pathtoPublish: dist
      artifactName: dist

{'fraction_non_alphanumeric': 0.07305389221556886, 'fraction_numerical': 0.004790419161676647, 'mean_word_length': 3.065693430656934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2209961', 'n_tokens_mistral': 533, 'n_tokens_neox': 490, 'n_words': 156}