Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 3, 2025

Python 2 is no longer supported. This PR removes all Python 2-specific references from the documentation.

Changes

  • docs/installing.rst: Removed obsolete text about setup.py sorting between Python 2/3 packages
  • docs/configuration/porting_from_dsa.rst: Fixed Python 2 print statement syntax to Python 3
# Before
print 'New session saved {}'.format(new_sess.pk)

# After
print('New session saved {}'.format(new_sess.pk))

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • docs.python.org
    • Triggering command: /usr/bin/python3 /home/REDACTED/.local/bin/sphinx-build -b html -d _build/doctrees . _build/html (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Review the documentation for Python 2 specific topics and remove them, the Python 2 is no longer supported.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Review the documentation for Python 2 specific topics and remove them, the Python 2 is no longer supported. Remove Python 2 references from documentation Nov 3, 2025
Copilot AI requested a review from nijel November 3, 2025 13:25
Copilot finished work on behalf of nijel November 3, 2025 13:25
@nijel nijel requested a review from Copilot November 3, 2025 13:36
@nijel nijel marked this pull request as ready for review November 3, 2025 13:36
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 modernizes the documentation by removing outdated Python 2 references and updating code examples to use Python 3 syntax.

  • Removes references to Python 2/3 package differentiation in the installation documentation
  • Updates print statement to use Python 3 function syntax in the migration script example

Reviewed Changes

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

File Description
docs/installing.rst Removes outdated documentation about Python 2/3 package handling in setup.py
docs/configuration/porting_from_dsa.rst Updates print statement to Python 3 function syntax in migration script example

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants