Skip to content

Complete transition into using poetry and more #287

@ificiana

Description

@ificiana

Describe the solution you'd like

As mentioned earlier by @ronnie-llamado in #235:
The PR accompanying this issue (#288) aims to complete the process. Moreover, it explicitly adds support for Python 3.11

Tasks

To Do

  • Move PyPI information (version, classifiers, etc) over to pyproject.toml
  • Remove extraneous pipenv files (when the transition is complete)
  • Update Makefile for versioning

Up for Discussion

  • [?] Add new GitHub Actions workflow to push the package to PyPI on a new tag
    I personally prefer the CLI commands for publishing, but if needed we can update the workflow as needed.

Extras

  • Add support for Python 3.11

Additional context

Testing the versioning system: Example Output

$ poetry version
pyhumps 3.8.0
$ make deploy-patch
  poetry version patch
  Bumping version from 3.8.0 to 3.8.1
  git commit -m 'Bump version: 3.8.0 → 3.8.1' pyproject.toml
  [master XXXXXXX] Bump version: 3.8.0 → 3.8.1
   1 file changed, 1 insertion(+), 1 deletion(-)
  .
  .  (omitting results)
  .
  poetry publish -r test-pypi
  # this is a mock deployment, published to TestPyPI
  
  Publishing pyhumps (3.8.1) to test-pypi
   - Uploading pyhumps-3.8.1-py3-none-any.whl 0%
   - Uploading pyhumps-3.8.1-py3-none-any.whl 57%
   - Uploading pyhumps-3.8.1-py3-none-any.whl 100%
   - Uploading pyhumps-3.8.1.tar.gz 0%
   - Uploading pyhumps-3.8.1.tar.gz 100%

pyhumps mock

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions