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

Update packaging requirement from <24,>=23.2 to >=23.2,<25 #212

Merged
merged 3 commits into from
Aug 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 21, 2024

Updates the requirements on packaging to permit the latest version.

Release notes

Sourced from packaging's releases.

24.1

What's Changed

New Contributors

Full Changelog: pypa/packaging@24.0...24.1

Changelog

Sourced from packaging's changelog.

24.1 - 2024-06-10


No unreleased changes.

24.0 - 2024-03-10

  • Do specifier matching correctly when the specifier contains an epoch number and has more components than the version (:issue:683)
  • Support the experimental --disable-gil builds in packaging.tags (:issue:727)
  • BREAKING: Make optional metadata.Metadata attributes default to None (:issue:733)
  • Fix errors when trying to access the description_content_type, keywords, and requires_python attributes on metadata.Metadata when those values have not been provided (:issue:733)
  • Fix a bug preventing the use of the built in ExceptionGroup on versions of Python that support it (:issue:725)

23.2 - 2023-10-01


* Document calendar-based versioning scheme (:issue:`716`)
* Enforce that the entire marker string is parsed (:issue:`687`)
* Requirement parsing no longer automatically validates the URL (:issue:`120`)
* Canonicalize names for requirements comparison (:issue:`644`)
* Introduce ``metadata.Metadata`` (along with ``metadata.ExceptionGroup`` and ``metadata.InvalidMetadata``; :issue:`570`)
* Introduce the ``validate`` keyword parameter to ``utils.normalize_name()`` (:issue:`570`)
* Introduce ``utils.is_normalized_name()`` (:issue:`570`)
* Make ``utils.parse_sdist_filename()`` and ``utils.parse_wheel_filename()``
  raise ``InvalidSdistFilename`` and ``InvalidWheelFilename``, respectively,
  when the version component of the name is invalid

23.1 - 2023-04-12

  • Parse raw metadata (:issue:671)
  • Import underlying parser functions as an underscored variable (:issue:663)
  • Improve error for local version label with unsupported operators (:issue:675)
  • Add dedicated error for specifiers with incorrect .* suffix
  • Replace spaces in platform names with underscores (:issue:620)
  • Relax typing of _key on _BaseVersion (:issue:669)
  • Handle prefix match with zeros at end of prefix correctly (:issue:674)

23.0 - 2023-01-08


* Allow ``"extra"`` to be ``None`` in the marker environment (:issue:`650`)
* Refactor ``tags._generic_api`` to use ``EXT_SUFFIX`` (:issue:`607`)
* Correctly handle trailing whitespace on URL requirements (:issue:`642`)
</tr></table> 

... (truncated)

Commits
  • 85442b8 Bump for release
  • 3e67fc7 Work around platform.python_version() returning non PEP 440 compliant versi...
  • 32deafe Bump the github-actions group with 3 updates (#789)
  • e0dda88 Document markers.default_environment() (#753)
  • cc938f9 Modernise type annotations using FA rules from ruff (#785)
  • 757f559 Fix typo in _parser docstring (#784)
  • ec9f203 Bump the github-actions group with 4 updates (#782)
  • 5cbe1e4 Add support for Python 3.13 and drop EOL 3.7 (#783)
  • cb8fd38 pyupgrade/black/isort/flake8 → ruff (#769)
  • e8002b1 Bump for development
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from anhuong as a code owner June 21, 2024 15:04
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 21, 2024
tedhtchang
tedhtchang previously approved these changes Jun 21, 2024
@dependabot dependabot bot force-pushed the dependabot/pip/packaging-gte-23.2-and-lt-25 branch from e7aa910 to 722c256 Compare June 26, 2024 15:37
@dependabot dependabot bot force-pushed the dependabot/pip/packaging-gte-23.2-and-lt-25 branch from 722c256 to b473484 Compare June 28, 2024 15:18
tedhtchang
tedhtchang previously approved these changes Jul 1, 2024
@dependabot dependabot bot force-pushed the dependabot/pip/packaging-gte-23.2-and-lt-25 branch from b473484 to 06487f7 Compare July 9, 2024 15:00
@dependabot dependabot bot force-pushed the dependabot/pip/packaging-gte-23.2-and-lt-25 branch from 06487f7 to 7d8b2ce Compare July 17, 2024 19:53
Updates the requirements on [packaging](https://github.com/pypa/packaging) to permit the latest version.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@23.2...24.1)

---
updated-dependencies:
- dependency-name: packaging
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/packaging-gte-23.2-and-lt-25 branch from 7d8b2ce to 118d0a6 Compare July 18, 2024 16:44
@anhuong anhuong merged commit 97cb42f into main Aug 1, 2024
9 checks passed
@dependabot dependabot bot deleted the dependabot/pip/packaging-gte-23.2-and-lt-25 branch August 1, 2024 22:00
anhuong added a commit to anhuong/fms-hf-tuning that referenced this pull request Aug 5, 2024
…n-model-stack#212)

Updates the requirements on [packaging](https://github.com/pypa/packaging) to permit the latest version.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@23.2...24.1)

---
updated-dependencies:
- dependency-name: packaging
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anh Uong <[email protected]>
anhuong added a commit that referenced this pull request Aug 14, 2024
* Set default value of target_modules to be None in LoraConfig

Signed-off-by: Will Johnson <[email protected]>

* Removal of transformers logger and addition of python logger

Signed-off-by: Abhishek <[email protected]>

* FMT and lint check: Removal of transformers logger and addition of python logger

Signed-off-by: Abhishek <[email protected]>

* fix: remove lm_head for granite with llama arch models (#258)

* initial code for deleting lm_head

Signed-off-by: Anh-Uong <[email protected]>

* fix logic for copying checkpoint

Signed-off-by: Anh-Uong <[email protected]>

* fix check that embed_tokens and lm_head weights are the same

Signed-off-by: Anh-Uong <[email protected]>

* fix warning assertion

Signed-off-by: Anh-Uong <[email protected]>

* fix lm_head check, remove test

Signed-off-by: Anh-Uong <[email protected]>

* small fixes from code review

Signed-off-by: Anh-Uong <[email protected]>

* fmt

Signed-off-by: Anh-Uong <[email protected]>

---------

Signed-off-by: Anh-Uong <[email protected]>
Co-authored-by: Anh-Uong <[email protected]>
Signed-off-by: Abhishek <[email protected]>

* Add config_utils tests

Signed-off-by: Angel Luu <[email protected]>

* Fix fmt

Signed-off-by: Angel Luu <[email protected]>

* Separate tests out and use docstrings

Signed-off-by: Angel Luu <[email protected]>

* Update more field/value checks from HF defaults

Signed-off-by: Angel Luu <[email protected]>

* Fix: Addition of env var TRANSFORMERS_VERBOSITY check

Signed-off-by: Abhishek <[email protected]>

* FMT Fix: Addition of env var TRANSFORMERS_VERBOSITY check

Signed-off-by: Abhishek <[email protected]>

* Add test for tokenizer in lora config (should be ignored)

Signed-off-by: Angel Luu <[email protected]>

* Adding logging support to accelerate launch

Signed-off-by: Abhishek <[email protected]>

* FMT_FIX: Adding logging support to accelerate launch

Signed-off-by: Abhishek <[email protected]>

* bug: On save event added to callback (#256)

* feat: On save event added to callback

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* fix: Removed additional bracket

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* fix: Removed additional bracket

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* fix: Format issues resolved

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* fix: rebase with upstream and add new line

Signed-off-by: Mehant Kammakomati <[email protected]>

---------

Signed-off-by: Padmanabha V Seshadri <[email protected]>
Signed-off-by: Mehant Kammakomati <[email protected]>
Co-authored-by: Mehant Kammakomati <[email protected]>

* feat: All metric handling changes (#263)

* feat: All metric handling changes

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* fix: Format issues

Signed-off-by: Padmanabha V Seshadri <[email protected]>

---------

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* feat: Configuration to set logging level for trigger log (#241)

* feat: Added the triggered login in the operation

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* fix: Formatting issues

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* fix: Added default config

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* fix: Moved the variable to right scope

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* fix: Checked added to validate config log level

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* fix: Removed some unwanted log file

Signed-off-by: Padmanabha V Seshadri <[email protected]>

---------

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* limit peft deps until investigate (#274)

Signed-off-by: Anh-Uong <[email protected]>

* Data custom collator (#260)

* refactor code to preprocess datasets

Co-authored-by: Alex-Brooks <[email protected]>
Signed-off-by: Sukriti-Sharma4 <[email protected]>

* fix formatting

Co-authored-by: Alex-Brooks <[email protected]>
Signed-off-by: Sukriti-Sharma4 <[email protected]>

* allow input/output in validate args

Co-authored-by: Alex-Brooks <[email protected]>
Signed-off-by: Sukriti-Sharma4 <[email protected]>

* format input/output JSON and mask

Co-authored-by: Alex-Brooks <[email protected]>
Signed-off-by: Sukriti-Sharma4 <[email protected]>

* function to return suitable collator

Co-authored-by: Alex-Brooks <[email protected]>
Signed-off-by: Sukriti-Sharma4 <[email protected]>

* add tests for SFT Trainer input/output format

Co-authored-by: Alex-Brooks <[email protected]>
Signed-off-by: Sukriti-Sharma4 <[email protected]>

* remove unused functions

Co-authored-by: Alex-Brooks <[email protected]>
Signed-off-by: Sukriti-Sharma4 <[email protected]>

* add eos token to input/output format

Signed-off-by: Sukriti-Sharma4 <[email protected]>

* fix tests

Signed-off-by: Sukriti-Sharma4 <[email protected]>

* improve docstrings

Signed-off-by: Sukriti-Sharma4 <[email protected]>

* keeping JSON keys constant

Signed-off-by: Sukriti-Sharma4 <[email protected]>

* support for input/output format

Signed-off-by: Sukriti-Sharma4 <[email protected]>

* formatting fixes

Signed-off-by: Sukriti-Sharma4 <[email protected]>

* update rEADME formats

Signed-off-by: Sukriti-Sharma4 <[email protected]>

* formatting README

Signed-off-by: Sukriti-Sharma4 <[email protected]>

---------

Signed-off-by: Sukriti-Sharma4 <[email protected]>
Co-authored-by: Alex-Brooks <[email protected]>

* Revert "limit peft deps until investigate (#274)" (#275)

This reverts commit f57ff63.

Signed-off-by: Anh-Uong <[email protected]>

* feat: per process state metric (#239)

Signed-off-by: Harikrishnan Balagopal <[email protected]>

* Modify test to pass with target_modules: None

Signed-off-by: Will Johnson <[email protected]>

* Logging changes and unit tests added

Signed-off-by: Abhishek <[email protected]>

* feat: Add a dockerfile argument to enable aimstack (#261)

* Add a dockerfile argument at the end of final layer to enable aimstack.
Currenlty guarded by a dockerfile argument.

Signed-off-by: Dushyant Behl <[email protected]>

* Set the default value of ENABLE_AIM to false

Signed-off-by: Dushyant Behl <[email protected]>

---------

Signed-off-by: Dushyant Behl <[email protected]>

* Solved conflict with main

Signed-off-by: Abhishek <[email protected]>

* FMT:Fix Solved conflict with main

Signed-off-by: Abhishek <[email protected]>

* enabling tests for prompt tuning

Signed-off-by: Abhishek <[email protected]>

* feat: Support pretokenized (#272)

* feat: support pretokenized datasets

Signed-off-by: Mehant Kammakomati <[email protected]>

* fix: rebase with upstream and review commits

Signed-off-by: Mehant Kammakomati <[email protected]>

* fix: rebase with upstream and review commits

Signed-off-by: Mehant Kammakomati <[email protected]>

* fix: rebase with upstream and review commits

Signed-off-by: Mehant Kammakomati <[email protected]>

* consolidate collator code

Signed-off-by: Sukriti-Sharma4 <[email protected]>

* add valuerrors for incorrect args

Signed-off-by: Sukriti-Sharma4 <[email protected]>

* feat: add unit tests for validate_data_args and format_dataset

Signed-off-by: Mehant Kammakomati <[email protected]>

* feat: add unit tests for validate_data_args and format_dataset

Signed-off-by: Mehant Kammakomati <[email protected]>

* feat: add unit tests for validate_data_args and format_dataset

Signed-off-by: Mehant Kammakomati <[email protected]>

* feat: add unit tests for validate_data_args and format_dataset

Signed-off-by: Mehant Kammakomati <[email protected]>

---------

Signed-off-by: Mehant Kammakomati <[email protected]>
Signed-off-by: Sukriti-Sharma4 <[email protected]>
Co-authored-by: Sukriti-Sharma4 <[email protected]>
Co-authored-by: Alex Brooks <[email protected]>

* Update packaging requirement from <24,>=23.2 to >=23.2,<25 (#212)

Updates the requirements on [packaging](https://github.com/pypa/packaging) to permit the latest version.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@23.2...24.1)

---
updated-dependencies:
- dependency-name: packaging
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anh Uong <[email protected]>

* enabling tests for prompt tuning (#278)

Signed-off-by: Abhishek <[email protected]>
Co-authored-by: Anh Uong <[email protected]>

* fix: do not add special tokens for custom tokenizer (#279)

Signed-off-by: Mehant Kammakomati <[email protected]>

* PR changes for changing logger

Signed-off-by: Abhishek <[email protected]>

* fix: bug where the logger was not being used properly (#286)

Signed-off-by: Hari <[email protected]>

* Unit Tests changes

Signed-off-by: Abhishek <[email protected]>

* Add functionality to free disk space from Github Actions (#287)

* Add functionality to free disk space from Github Actions

Signed-off-by: Will Johnson <[email protected]>

* Add functionality to free disk space from Github Actions, relocate from build-and-publish.yaml to image.yaml

Signed-off-by: Will Johnson <[email protected]>

* Move freeing space step to before building image

Signed-off-by: Will Johnson <[email protected]>

---------

Signed-off-by: Will Johnson <[email protected]>

* commented os.environ[LOG_LEVEL] in accelerate.py for testing

Signed-off-by: Abhishek <[email protected]>

* PR changes

Signed-off-by: Abhishek <[email protected]>

* FIX:FMT

Signed-off-by: Abhishek <[email protected]>

* PR Changes

Signed-off-by: Abhishek <[email protected]>

* PR Changes

Signed-off-by: Abhishek <[email protected]>

* Add unit test to verify target_modules defaults correctly (#281)

* Add unit test to verify target_modules defaults correctly

Signed-off-by: Will Johnson <[email protected]>

* Add sft_trainer.main test to ensure target modules properly default for LoRA when set to None from CLI

Signed-off-by: Will Johnson <[email protected]>

* fmt

Signed-off-by: Will Johnson <[email protected]>

* Use model_args instead of importing, fix nits

Signed-off-by: Will Johnson <[email protected]>

* Add test to ensure target_modules defaults to None in job config

Signed-off-by: Will Johnson <[email protected]>

* Add additional check, fix nits

Signed-off-by: Will Johnson <[email protected]>

---------

Signed-off-by: Will Johnson <[email protected]>

* docs: Add documentation on experiment tracking. (#257)

Signed-off-by: Dushyant Behl <[email protected]>

* Ensure additional metadata to trackers don't throw error in happy case. (#290)

Signed-off-by: Dushyant Behl <[email protected]>

* PR Changes

Signed-off-by: Abhishek <[email protected]>

* fix multiple runid creation bug with accelerate. (#268)

Signed-off-by: Dushyant Behl <[email protected]>

* feat: logging control operation (#264)

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* Metrics file epoch indexing from 0

Signed-off-by: Abhishek <[email protected]>

* Revert last commit

Signed-off-by: Abhishek <[email protected]>

* fix run evaluation to get base model path (#273)

Signed-off-by: Anh-Uong <[email protected]>

* PR Changes

Signed-off-by: Abhishek <[email protected]>

* PR Changes

Signed-off-by: Abhishek <[email protected]>

* feat: Added additional events such as on_step_begin, on_optimizer_step, on_substep_end (#293)

Signed-off-by: Padmanabha V Seshadri <[email protected]>

* Always update setuptools to latest (#288)

Signed-off-by: James Busche <[email protected]>
Co-authored-by: Anh Uong <[email protected]>

* Rename all fixtures with correct .jsonl extension (#295)

Signed-off-by: Will Johnson <[email protected]>
Co-authored-by: Anh Uong <[email protected]>

* feat: add save_model_dir flag where final checkpoint saved (#291)

* add save_model_dir flag for final checkpoint

Signed-off-by: Anh-Uong <[email protected]>

* remove output_dir logic, add save method

Signed-off-by: Anh-Uong <[email protected]>

* update accelerate_launch, remove save tokenizer

Signed-off-by: Anh-Uong <[email protected]>

* fix: put back creation of .complete file

Signed-off-by: Anh-Uong <[email protected]>

* fix failing tests and add new ones

Signed-off-by: Anh-Uong <[email protected]>

* tests: add sft_trainer test to train and save

- small refactor of tests

Signed-off-by: Anh-Uong <[email protected]>

* add docs on saving checkpoints and fix help msg

Signed-off-by: Anh-Uong <[email protected]>

* update example and note best checkpoint

Signed-off-by: Anh-Uong <[email protected]>

* changes based on PR review

Signed-off-by: Anh-Uong <[email protected]>

* add logging to save, fix error out properly

Signed-off-by: Anh-Uong <[email protected]>

---------

Signed-off-by: Anh-Uong <[email protected]>

---------

Signed-off-by: Will Johnson <[email protected]>
Signed-off-by: Abhishek <[email protected]>
Signed-off-by: Anh-Uong <[email protected]>
Signed-off-by: Angel Luu <[email protected]>
Signed-off-by: Padmanabha V Seshadri <[email protected]>
Signed-off-by: Mehant Kammakomati <[email protected]>
Signed-off-by: Sukriti-Sharma4 <[email protected]>
Signed-off-by: Harikrishnan Balagopal <[email protected]>
Signed-off-by: Dushyant Behl <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Hari <[email protected]>
Signed-off-by: James Busche <[email protected]>
Co-authored-by: Abhishek <[email protected]>
Co-authored-by: Sukriti Sharma <[email protected]>
Co-authored-by: Anh-Uong <[email protected]>
Co-authored-by: Abhishek Maurya <[email protected]>
Co-authored-by: Angel Luu <[email protected]>
Co-authored-by: Angel Luu <[email protected]>
Co-authored-by: Padmanabha V Seshadri <[email protected]>
Co-authored-by: Mehant Kammakomati <[email protected]>
Co-authored-by: Alex-Brooks <[email protected]>
Co-authored-by: Hari <[email protected]>
Co-authored-by: Dushyant Behl <[email protected]>
Co-authored-by: Sukriti-Sharma4 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Busche <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants