Skip to content

Conversation

@miquelbeltran
Copy link
Contributor

Description 📝

Purpose:

Prepare release of 6.0.0

Approach:

Bump major version since this release includes a breaking change.

Also, this PR includes a small documentation cleanup and removing references to python2, which support was dropped in version 5.

Type of change

  • fix: Bug fix (non-breaking change which fixes an issue)
  • feat: New feature (non-breaking change which adds functionality)
  • chore: Chore task, release or small impact change
  • ci: CI configuration change
  • Other type of change (specify)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Updates

  • Update changelog.
  • Bump version number.
  • Update documentation.
  • Update setup file

Related issues

  • None

Test plan 🧪

  • None

Author to check 👓

  • Project and all contained modules builds successfully
  • Self-/dev-tested
  • Unit/UI/Automation/Integration tests provided where applicable
  • Code is written to standards
  • Appropriate documentation written (code comments, internal docs)

Reviewer to check ✔️

  • Project and all contained modules builds successfully
  • Change has been dev-/reviewer-tested, where possible
  • Unit/UI/Automation/Integration tests provided where applicable
  • Code is written to standards
  • Appropriate documentation written (code comments, internal docs)

@miquelbeltran miquelbeltran requested a review from Copilot May 23, 2025 09:47
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR prepares release 6.0.0 by bumping the version number, removing Python 2 support, and cleaning up documentation.

  • Removed Python 2 references and legacy conditional logic in setup.py.
  • Updated version information in python3/raygun4py/version.py to 6.0.0.
  • Updated documentation in README.rst and CHANGELOG.md to reflect the new release and breaking changes.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
setup.py Removed Python 2 conditional logic; updated description and classifiers.
python3/raygun4py/version.py Bumped version number from 5.0.0 to 6.0.0.
README.rst Cleaned documentation to remove Python 2 references and added new code examples.
CHANGELOG.md Added release notes and detailed changes for version 6.0.0.


Pass a callback function to this method to configure custom grouping logic. The callback should take one parameter, an instance of RaygunMessage, and return a string between 1 and 100 characters in length (see 'Custom Grouping Logic' below for more details).

.. code:: python
Copy link
Contributor

Choose a reason for hiding this comment

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

what does the .. mean?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's the formatting of rst files to introduce codeblocks.

Comment on lines -7 to -9
base_dir = "python2"
if sys.version_info[0] == 3:
base_dir = "python3"
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we still support python 2?

Copy link
Contributor

@sumitramanga sumitramanga May 23, 2025

Choose a reason for hiding this comment

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

We do mention it here - https://raygun.com/documentation/language-guides/python/crash-reporting/installation/
Therefore, I'm not sure if we want to remove this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't support it in the project anymore, the code was deleted back in version 5, so having this setup step would be incorrect.

Users can still use version 4.4.0 if they want to use python2

Copy link
Contributor

@sumitramanga sumitramanga left a comment

Choose a reason for hiding this comment

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

Some minor considerations but looks good!

@miquelbeltran miquelbeltran merged commit 016ac0b into master May 26, 2025
7 checks passed
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.

3 participants