Skip to content

Commit

Permalink
v1.2.17 (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent-laporte-pro authored Jan 24, 2025
2 parents 10c62f5 + 4d9d9b0 commit 3b9b829
Show file tree
Hide file tree
Showing 16 changed files with 177 additions and 18 deletions.
9 changes: 6 additions & 3 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.2.16
current_version = 1.2.17
commit = True
tag = False
message = Prepare next version {new_version} (unreleased)
Expand All @@ -17,6 +17,9 @@ search = release = "{current_version}"
replace = release = "{new_version}"

[bumpversion:file:python-deprecated.spec]
search = (?<=Version:\s+){current_version}
replace = {new_version}
search = Version: {current_version}
replace = Version: {new_version}

[bumpversion:file:docs/source/_static/rusty-tools-background.svg]
search = id="deprecated-version">v{current_version}</tspan>
replace = id="deprecated-version">v{new_version}</tspan>
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,33 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

### macOS template
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon?
![iI]con[_a-zA-Z0-9]

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

31 changes: 31 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/source/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
8 changes: 7 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0
(only in comment or documentation).


v1.2.16 (2025-11-24)
v1.2.17 (2024-01-25)
====================

Bug fix release


v1.2.16 (2025-01-24)
====================

Bug fix release
Expand Down
2 changes: 1 addition & 1 deletion deprecated/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"""

__version__ = "1.2.16"
__version__ = "1.2.17"
__author__ = u"Laurent LAPORTE <[email protected]>"
__date__ = "2025-01-24"
__credits__ = "(c) Laurent LAPORTE"
Expand Down
22 changes: 22 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Project dependencies (editable mode)
-e .

# Sphinx to build the documentation
Sphinx ~= 8.1.3

# Pinned versions of dependencies to ensure compatibility with Sphinx
alabaster >=0.7.14, <1.1.0
babel >=2.13, <2.17.0
docutils >=0.20, <0.22
imagesize >=1.3, <1.5.0
Jinja2 >=3.1, <3.2.0
packaging >=23.0, <24.3
Pygments >=2.17, <2.20.0
requests >=2.30.0, <2.33.0
snowballstemmer >=2.2, <2.3.0
sphinxcontrib-applehelp >=1.0.7, <2.1.0
sphinxcontrib-devhelp >=1.0.6, <2.1.0
sphinxcontrib-htmlhelp >=2.0.6, <2.2.0
sphinxcontrib-jsmath >=1.0.1, <1.1.0
sphinxcontrib-qthelp >=1.0.6, <2.1.0
sphinxcontrib-serializinghtml >=1.1.9, <2.1.0
Binary file removed docs/source/_static/banner.png
Binary file not shown.
File renamed without changes
Binary file added docs/source/_static/rusty-tools-background.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions docs/source/_static/rusty-tools-background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
# built documents.
#
# The full version, including alpha/beta/rc tags.
release = "1.2.16"
release = "1.2.17"
# The short X.Y version.
version = release.rpartition('.')[0]

Expand All @@ -70,7 +70,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = 'en'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Welcome to Deprecated
=====================

.. image:: _static/banner.png
.. image:: _static/rusty-tools-background.svg
:alt: Deprecated: When once-stable features are removed in upcoming releases

Welcome to Deprecated’s Documentation.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Installation
Python Version
--------------

We recommend using the latest version of Python 3. Deprecated Library supports Python 3.4
and newer, Python 2.7 and newer, and PyPy 2.7 and 3.6.
Our project supports Python 2.7 (for historical reasons), Python 3.4 and newer versions, as well as PyPy 2.7 and
PyPy 3.6 and newer. We recommend using the latest version of Python 3 whenever possible.

Dependencies
------------
Expand Down
2 changes: 1 addition & 1 deletion python-deprecated.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%global pkgname deprecated

Name: python-%{pkgname}
Version: 1.2.16
Version: 1.2.17
Release: 1%{?dist}
Summary: Python decorator to deprecate old python classes, functions or methods
License: MIT
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def function_three():

setup(
name="Deprecated",
version="1.2.16",
version="1.2.17",
url="https://github.com/laurent-laporte-pro/deprecated",
project_urls={
"Documentation": "https://deprecated.readthedocs.io/en/latest/",
Expand Down Expand Up @@ -190,9 +190,6 @@ def function_three():
"PyTest",
"PyTest-Cov",
"bump2version < 1",
"sphinx < 2",
# jinja2 3.0.3 was the last version to have contextfunction that sphinx 1.x needs
"jinja2~=3.0.3",
"setuptools; python_version>='3.12'",
]
},
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ deps =

[testenv:docs]
basepython = python
# jinja2 3.0.3 was the last version to have contextfunction that sphinx 1.x needs
deps =
sphinx < 2
jinja2 == 3.0.3
-r docs/requirements.txt
commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs/source/ {envtmpdir}/html
sphinx-build -b epub -d {envtmpdir}/doctrees docs/source/ {envtmpdir}/epub

0 comments on commit 3b9b829

Please sign in to comment.