Skip to content
Snippets Groups Projects
Commit 4c32bb10 authored by Josenilson Ferreira da SIlva's avatar Josenilson Ferreira da SIlva :tiger:
Browse files

New upstream version 0.1.1

parent 7b3d004b
No related branches found
No related tags found
No related merge requests found
[bumpversion]
current_version = 0.1.0
current_version = 0.1.1
commit = True
tag = True
......
......@@ -39,7 +39,7 @@ jobs:
python -VV
python -m site
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade "whey-conda" "setuptools!=61.*,>=40.6.0" "wheel>=0.34.2"
python -m pip install --upgrade "whey-conda" "setuptools!=61.*,<=67.1.0,>=40.6.0" "wheel>=0.34.2"
# $CONDA is an environment variable pointing to the root of the miniconda directory
$CONDA/bin/conda update -n base conda
$CONDA/bin/conda config --add channels conda-forge
......@@ -57,7 +57,7 @@ jobs:
- name: "Install package"
run: |
$CONDA/bin/conda install -c file://$(pwd)/conda-bld whey=0.1.0=py_1 -y || exit 1
$CONDA/bin/conda install -c file://$(pwd)/conda-bld whey=0.1.1=py_1 -y || exit 1
- name: "Run Tests"
run: |
......
......@@ -22,7 +22,7 @@ jobs:
runs-on: "windows-2019"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.5,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
strategy:
fail-fast: False
......@@ -35,7 +35,7 @@ jobs:
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
- {python-version: "3.13.0-alpha.5", testenvs: "py313-dev,build", experimental: True}
- {python-version: "3.13.0-beta.1", testenvs: "py313-dev,build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
......
......@@ -23,7 +23,7 @@ jobs:
runs-on: "ubuntu-20.04"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.5,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
strategy:
fail-fast: False
......@@ -36,7 +36,7 @@ jobs:
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
- {python-version: "3.13.0-alpha.5", testenvs: "py313-dev,build", experimental: True}
- {python-version: "3.13.0-beta.1", testenvs: "py313-dev,build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
......@@ -203,7 +203,7 @@ jobs:
python -VV
python -m site
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade "mkrecipe" "setuptools!=61.*,>=40.6.0" "wheel>=0.34.2"
python -m pip install --upgrade "mkrecipe" "setuptools!=61.*,<=67.1.0,>=40.6.0" "wheel>=0.34.2"
# $CONDA is an environment variable pointing to the root of the miniconda directory
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
$CONDA/bin/conda update -n base conda
......
......@@ -18,11 +18,11 @@ permissions:
jobs:
tests:
name: "macos-latest / Python ${{ matrix.config.python-version }}"
runs-on: "macos-latest"
name: "macos-13 / Python ${{ matrix.config.python-version }}"
runs-on: "macos-13"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.5,pypy-3.7,pypy-3.8,pypy-3.9'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.1,pypy-3.7,pypy-3.8,pypy-3.9'
strategy:
fail-fast: False
......@@ -35,7 +35,7 @@ jobs:
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
- {python-version: "3.13.0-alpha.5", testenvs: "py313-dev,build", experimental: True}
- {python-version: "3.13.0-beta.1", testenvs: "py313-dev,build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
......
......@@ -8,7 +8,7 @@ ci:
repos:
- repo: https://github.com/repo-helper/pyproject-parser
rev: v0.9.1
rev: v0.11.0
hooks:
- id: reformat-pyproject
......@@ -43,7 +43,7 @@ repos:
- id: bind-requirements
- repo: https://github.com/domdfcoding/flake8-dunder-all
rev: v0.3.1
rev: v0.4.1
hooks:
- id: ensure-dunder-all
files: ^whey/.*\.py$
......
......@@ -119,7 +119,7 @@ See `the documentation`_ for configuration_ and usage_ information.
.. |language| image:: https://img.shields.io/github/languages/top/repo-helper/whey
:alt: GitHub top language
.. |commits-since| image:: https://img.shields.io/github/commits-since/repo-helper/whey/v0.1.0
.. |commits-since| image:: https://img.shields.io/github/commits-since/repo-helper/whey/v0.1.1
:target: https://github.com/repo-helper/whey/pulse
:alt: GitHub commits since tagged version
......
......@@ -74,8 +74,14 @@ latex_elements = {
def setup(app):
# 3rd party
from sphinx_toolbox.latex import better_header_layout
from sphinxemoji import sphinxemoji
app.connect("config-inited", lambda app, config: better_header_layout(config))
app.connect("build-finished", sphinxemoji.copy_asset_files)
app.add_js_file("https://unpkg.com/twemoji@latest/dist/twemoji.min.js")
app.add_js_file("twemoji.js")
app.add_css_file("twemoji.css")
app.add_transform(sphinxemoji.EmojiSubstitutions)
nitpicky = True
......
......@@ -135,7 +135,7 @@ whey
:alt: GitHub top language
.. |commits-since| github-shield::
:commits-since: v0.1.0
:commits-since: v0.1.1
:alt: GitHub commits since tagged version
.. |commits-latest| github-shield::
......
......@@ -6,21 +6,17 @@ noqa-reformat = 60
ellipsis-reformat = 70
squish_stubs = 80
[config]
indent = "\t"
line_length = 115
[hooks.yapf]
priority = 30
[hooks.isort]
priority = 50
[hooks.yapf.kwargs]
yapf_style = ".style.yapf"
[hooks.isort]
priority = 50
[hooks.isort.kwargs]
indent = "\t\t"
indent = " "
multi_line_output = 8
import_heading_stdlib = "stdlib"
import_heading_thirdparty = "3rd party"
......@@ -64,3 +60,7 @@ known_third_party = [
"whey_pth",
]
known_first_party = [ "whey",]
[config]
indent = " "
line_length = 115
[build-system]
requires = [ "setuptools!=61.*,>=40.6.0", "wheel>=0.34.2",]
requires = [ "setuptools!=61.*,<=67.1.0,>=40.6.0", "wheel>=0.34.2",]
build-backend = "setuptools.build_meta"
[project]
name = "whey"
version = "0.1.0"
version = "0.1.1"
description = "A simple Python wheel builder for simple projects."
readme = "README.rst"
requires-python = ">=3.6.1"
......@@ -33,14 +33,13 @@ classifiers = [
]
dynamic = [ "dependencies",]
[project.license]
file = "LICENSE"
[[project.authors]]
name = "Dominic Davis-Foster"
email = "dominic@davis-foster.co.uk"
[project.license]
file = "LICENSE"
[project.urls]
Homepage = "https://github.com/repo-helper/whey"
"Issue Tracker" = "https://github.com/repo-helper/whey/issues"
......@@ -50,6 +49,10 @@ Documentation = "https://whey.readthedocs.io/en/latest"
[project.scripts]
whey = "whey.__main__:main"
[project.entry-points."whey.builder"]
whey_sdist = "whey.builder:SDistBuilder"
whey_wheel = "whey.builder:WheelBuilder"
[project.optional-dependencies]
readme = [ "docutils>=0.16", "pyproject-parser[readme]>=0.11.0b1",]
editable = [ "editables>=0.2",]
......@@ -81,7 +84,6 @@ extensions = [
"sphinx.ext.mathjax",
"sphinxcontrib.extras_require",
"sphinx.ext.todo",
"sphinxemoji.sphinxemoji",
"notfound.extension",
"sphinx_copybutton",
"sphinxcontrib.default_values",
......@@ -96,7 +98,6 @@ extensions = [
"attr_utils.autoattrs",
"local_extension",
]
sphinxemoji_style = "twemoji"
gitstamp_fmt = "%d %b %Y"
templates_path = [ "_templates",]
html_static_path = [ "_static",]
......@@ -171,15 +172,23 @@ show_error_codes = true
[tool.snippet-fmt]
directives = [ "code-block",]
[tool.snippet-fmt.languages.python]
reformat = true
[tool.snippet-fmt.languages.toml]
[tool.snippet-fmt.languages.TOML]
reformat = true
[tool.snippet-fmt.languages.ini]
[tool.snippet-fmt.languages.json]
[tool.setuptools]
zip-safe = false
include-package-data = true
platforms = [ "Windows", "macOS", "Linux",]
[project.entry-points."whey.builder"]
whey_sdist = "whey.builder:SDistBuilder"
whey_wheel = "whey.builder:WheelBuilder"
[tool.dependency-dash."requirements.txt"]
order = 10
......@@ -193,15 +202,3 @@ include = false
[tool.dep_checker.name_mapping]
attrs = "attr"
[tool.snippet-fmt.languages.python]
reformat = true
[tool.snippet-fmt.languages.toml]
[tool.snippet-fmt.languages.TOML]
reformat = true
[tool.snippet-fmt.languages.ini]
[tool.snippet-fmt.languages.json]
......@@ -7,7 +7,7 @@ email: 'dominic@davis-foster.co.uk'
username: 'repo-helper'
assignee: 'domdfcoding'
primary_conda_channel: "domdfcoding"
version: '0.1.0'
version: '0.1.1'
license: 'MIT'
short_desc: 'A simple Python wheel builder for simple projects.'
......
......@@ -8,7 +8,7 @@
[metadata]
name = whey
version = 0.1.0
version = 0.1.1
author = Dominic Davis-Foster
author_email = dominic@davis-foster.co.uk
license = MIT License
......
......@@ -81,6 +81,7 @@ setenv =
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
[testenv:py312]
setenv =
......@@ -101,6 +102,7 @@ setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
PIP_PREFER_BINARY=1
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
skip_install = True
changedir = {toxinidir}
deps =
......@@ -128,7 +130,7 @@ deps =
flake8-github-actions>=0.1.0
flake8-noqa>=1.1.0,<=1.2.2
flake8-pyi>=20.10.0,<=22.8.0
flake8-pytest-style>=1.3.0
flake8-pytest-style>=1.3.0,<2
flake8-quotes>=3.3.0
flake8-slots>=0.1.0
flake8-sphinx-links>=0.0.4
......
......@@ -32,7 +32,7 @@ import os
__author__: str = "Dominic Davis-Foster"
__copyright__: str = "2021 Dominic Davis-Foster"
__license__: str = "MIT License"
__version__: str = "0.1.0"
__version__: str = "0.1.1"
__email__: str = "dominic@davis-foster.co.uk"
__all__ = ("build_sdist", "build_wheel")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment