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

Specify package version #107

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Specify package version #107

merged 2 commits into from
Nov 11, 2024

Conversation

AnirudhDagar
Copy link
Collaborator

Issue #, if available:

>>> import autogluon_assistant
>>> print(autogluon_assistant.__version__)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'autogluon_assistant' has no attribute '__version__'

Description of changes:
This PR reads the package version specified in the pyproject.toml file during installation and sets the __version__ attribute accordingly.

I also made some other minor fixes, removing unused import etc.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AnirudhDagar AnirudhDagar merged commit 079138b into main Nov 11, 2024
1 check passed
@AnirudhDagar AnirudhDagar deleted the add_version branch November 12, 2024 00:57
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