You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GitHub does not detect the BSD-2-Clause licence (shows "Other" / NOASSERTION) #2064
GitHub finds LICENSE.rst but doesn't recognise the licence in it: the repository shows the licence as "Other", and the API returns spdx_id NOASSERTION. The file is the BSD 2-clause text, but tools and services that rely on GitHub's licence metadata can't tell that the project is BSD-licensed.
Would you accept a small pull request that adds a plain LICENSE file containing the standard BSD-2-Clause text with the existing copyright line, keeping LICENSE.rst as it is? GitHub should then detect the licence as BSD-2-Clause.
I think this can be handled with a file rename to either LICENSE or LICENSE.md, and updating the places throughout the repository that refer to its current name of LICENSE.rst. Editing the license text should be avoided, as it could void agreements going back decades.
Activity
github-actions commentedon Nov 5, 2026
Thanks for the issue, @Arsalan900! A maintainer will review it shortly.
github-actions commentedon Nov 5, 2026
Insufficient data
Not enough activity yet to make a reliable assessment.
View full analysis →
This is an automated analysis by AgentScan
stevepiercy commentedon Nov 5, 2026
I think this can be handled with a file rename to either
LICENSEorLICENSE.md, and updating the places throughout the repository that refer to its current name ofLICENSE.rst. Editing the license text should be avoided, as it could void agreements going back decades.See:
Running
licenseelocally would confirm.@Arsalan900 would you please proceed? Thank you!
stevepiercy commentedon Nov 5, 2026
I ran a quick test. Removal of the reStructuredText heading "License" and its over- and underscores will do the job. No file renaming necessary.
With reStructuredText heading
$ licensee detect . License: NOASSERTION Matched files: LICENSE.rst, pyproject.toml LICENSE.rst: Content hash: 2f89f10150d7ace6c8213fccfecbc7f1abfdb749 License: NOASSERTION Closest non-matching licenses: BSD-2-Clause similarity: 94.06% BSD-3-Clause similarity: 84.08% BSD-4-Clause similarity: 68.92% pyproject.toml: Confidence: 90.00% Matcher: Licensee::Matchers::PyProject License: BSD-2-ClauseWithout reStructuredText heading
$ licensee detect . License: BSD-2-Clause Matched files: LICENSE.rst, pyproject.toml LICENSE.rst: Content hash: a307ca750c21f262c95d2bce55e69c05e6c3dee9 Attribution: Copyright (c) 2012-2013, Plone Foundation Confidence: 100.00% Matcher: Licensee::Matchers::Exact License: BSD-2-Clause pyproject.toml: Confidence: 90.00% Matcher: Licensee::Matchers::PyProject License: BSD-2-ClauseI also checked that
LICENSE.rstis not included in the documentation or anywhere else that depends on a heading. It's safe to remove the heading.Add change log entry for PyCalendar#2064
Remove reStructuredText heading from LICENSE.rst so GitHub detects B…
SashankBhamidi commentedon Nov 20, 2026
This is included in v8.0.0a1 (alpha).