Skip to content

chore: align package metadata with Apache-2.0 license - #477

Open
ilmioalias wants to merge 1 commit into
Evolutionary-Intelligence:mainfrom
ilmioalias:chore/align-apache-2-license-metadata
Open

ilmioalias wants to merge 1 commit into
Evolutionary-Intelligence:mainfrom
ilmioalias:chore/align-apache-2-license-metadata

Conversation

@ilmioalias

Copy link
Copy Markdown

Summary

The repository LICENSE was changed to Apache-2.0, but the README, Sphinx
documentation, and Python package metadata still referenced GPL-3.0. This
PR aligns those surfaces with the current license so it is unambiguous
that PyPop7 is distributed under Apache-2.0.

Scope is limited to licensing/documentation/metadata. No algorithm,
dependency, or version changes.

Changes

  • README.md: replaced the GPL-3.0 licensing statement with an
    Apache-2.0 statement pointing to the LICENSE file.
  • docs/sphinx/source/index.rst: replaced the GPL-3.0 shields.io badge
    with an Apache-2.0 badge (same LICENSE target link).
  • setup.cfg: removed the
    License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
    classifier, added License :: OSI Approved :: Apache Software License,
    and added license = Apache-2.0.
  • pyproject.toml: no change needed — the project has no [project]
    table (metadata lives entirely in setup.cfg), so there is no
    conflicting license declaration to reconcile.

Validation

  • python -m build — succeeds (sdist + wheel).
  • python -m twine check dist/* — PASSED.
  • Inspected the generated wheel METADATA: no GPL classifier present,
    License :: OSI Approved :: Apache Software License present.
  • grep -RniE 'GPL-3\.0|GPLv3|GNU General Public License' across the
    repository: the only remaining match is an unrelated third-party
    attribution comment in pypop7/optimizers/es/_repeat_saes.py referring
    to external MATLAB code, not the project's own license — left
    untouched intentionally.

Notes

This PR does not publish a PyPI release. The currently published PyPI
package (0.0.82) still declares GPL-3.0, since it predates this
metadata alignment; a maintainer will need to cut a new release once
this is merged for the corrected metadata to reach PyPI.

Update README, Sphinx docs badge, and setup.cfg classifiers/license
field to reflect the Apache-2.0 license already in LICENSE. No
algorithm, dependency, or version changes.
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.

1 participant