Skip to content

Conversation

@haroldrandom
Copy link
Contributor

No description provided.

@haroldrandom haroldrandom self-assigned this Mar 29, 2020
@jiasli
Copy link
Member

jiasli commented Mar 30, 2020

I didn't seem to find the logic to dump metadata. Is it automated?

@haroldrandom haroldrandom requested a review from jiasli March 30, 2020 08:49
@haroldrandom
Copy link
Contributor Author

I didn't seem to find the logic to dump metadata. Is it automated?

It's here

# update index and write back to file
with open(os.path.join(index_path), 'w') as outfile:
outfile.write(json.dumps(curr_index, indent=4, sort_keys=True))

I use the returned value of pkginfo instead of the the old formate of metadata.json from wheel==0.30.0, for instance:

{'author': 'Matthew Booe',
 'author_email': '[email protected]',
 'azext.isPreview': True,
 'azext.minCliCoreVersion': '2.2.0',
 'classifiers': ['Development Status :: 4 - Beta',
                 'Intended Audience :: Developers',
                 'Intended Audience :: System Administrators',
                 'Programming Language :: Python',
                 'Programming Language :: Python :: 2',
                 'Programming Language :: Python :: 2.7',
                 'Programming Language :: Python :: 3',
                 'Programming Language :: Python :: 3.5',
                 'Programming Language :: Python :: 3.6',
                 'Programming Language :: Python :: 3.7',
                 'Programming Language :: Python :: 3.8',
                 'License :: OSI Approved :: MIT License'],
 'home_page': 'https://github.com/Azure/azure-cli-extensions/tree/master/src/ai-examples',
 'license': 'MIT',
 'metadata_version': '2.0',
 'name': 'ai-examples',
 'platforms': ['UNKNOWN'],
 'summary': 'Add AI powered examples to help content.',
 'version': '0.2.0'}

@haroldrandom haroldrandom added this to the S169 milestone Apr 27, 2020
@fengzhou-msft
Copy link
Member

Just to confirm, this will require new extension packages to have a minimum core version of 2.5.0+?

@haroldrandom haroldrandom deleted the relax-wheel branch November 19, 2021 08:05
RenSilvaAU pushed a commit to RenSilvaAU/azure-cli-dev-tools that referenced this pull request Aug 7, 2025
…ss-modification-inherience

Support unwrap class modification inherient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants