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

Enable Python 3.8 support #210

Merged
merged 8 commits into from
Aug 11, 2020
Merged

Enable Python 3.8 support #210

merged 8 commits into from
Aug 11, 2020

Conversation

kbattocchi
Copy link
Collaborator

No description provided.

@kbattocchi
Copy link
Collaborator Author

Abandoning this for now because tensorflow won't support Python 3.8 until version 2.2 sometime later this year, and we're limiting to tensorflow 1.* for now anyway.

@kbattocchi kbattocchi closed this Jan 7, 2020
@kbattocchi
Copy link
Collaborator Author

Tensorflow 2.2 will soon be out, so I'm reopening this so that we can support Python 3.8, which has been out for several months and is seeing increased use in practice.

Copy link
Contributor

@heimengqi heimengqi left a comment

Choose a reason for hiding this comment

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

Looks great!

@kbattocchi kbattocchi force-pushed the kebatt/python38 branch 6 times, most recently from 58fdc9f to 7fc79fc Compare August 5, 2020 17:26
@kbattocchi kbattocchi force-pushed the kebatt/python38 branch 2 times, most recently from 774a1ba to e9d49ba Compare August 10, 2020 16:32
Comment on lines +106 to +139
# - job: 'AutoML'
# dependsOn: 'EvalChanges'
# condition: eq(dependencies.EvalChanges.outputs['output.testCode'], 'True')
# variables:
# python.version: '3.6'
# pool:
# vmImage: 'ubuntu-16.04'
# steps:
# - template: azure-pipelines-steps.yml
# parameters:
# body:
# - task: AzureCLI@2
# displayName: 'AutoML tests'
# inputs:
# azureSubscription: 'automl'
# scriptLocation: 'inlineScript'
# scriptType: 'pscore'
# powerShellIgnoreLASTEXITCODE: '' # string for now due to https://github.com/microsoft/azure-pipelines-tasks/issues/12266
# inlineScript: |
# $env:SUBSCRIPTION_ID = az account show --query id -o tsv
# python setup.py pytest
# env:
# WORKSPACE_NAME: 'testWorkspace'
# RESOURCE_GROUP: 'testingAutoMLEconML'
# PYTEST_ADDOPTS: '-m "automl" -n 0'
# COVERAGE_PROCESS_START: 'setup.cfg'

# - task: PublishTestResults@2
# displayName: 'Publish Test Results **/test-results.xml'
# inputs:
# testResultsFiles: '**/test-results.xml'
# testRunTitle: 'AutoML'
# condition: succeededOrFailed()
# package: '.[automl]'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Had to disable AutoML tests, because it seems like they were already broken by something changing server-side for AutoML and I couldn't figure out the necessary changes after a small amount of debugging. I've opened a new issue (#270) to fix this.

lightning package implements such a class:

.. testcode::
lightning package implements such a class::
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Released versions of lightning are currently not compatible with sklearn 0.23 (though this problem has been fixed in the lightning GitHub repo - see scikit-learn-contrib/lightning#142). We can revert this small change if there is a new PyPI release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants