Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.2.16-dev
current_version = 0.2.16
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?:-(?P<release>[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+(?P<build>[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.12" ]
python-version: [ "3.9", "3.13" ]
steps:
- uses: actions/checkout@v4
- name: Set up Java 17
uses: actions/setup-java@v4
- uses: actions/checkout@v6
- name: Set up Java 21
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
java-version: 21
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -38,16 +38,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.12" ]
python-version: [ "3.9", "3.13" ]
steps:
- uses: actions/checkout@v4
- name: Set up Java 17
uses: actions/setup-java@v4
- uses: actions/checkout@v6
- name: Set up Java 21
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
java-version: 21
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -66,16 +66,16 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.8", "3.12" ]
python-version: [ "3.9", "3.13" ]
steps:
- uses: actions/checkout@v4
- name: Set up Java 17
uses: actions/setup-java@v4
- uses: actions/checkout@v6
- name: Set up Java 21
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
java-version: 21
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![DOI](https://zenodo.org/badge/390711946.svg)](https://zenodo.org/badge/latestdoi/390711946)

Python wrapper around [Bacting](https://github.com/egonw/bacting).
Python wrapper around [Bacting](https://github.com/egonw/bacting). It requires at least Python 3.9.

## Usage

Expand All @@ -31,7 +31,7 @@ print(pybacting.from_smiles("COC"))

## Installation

Before installing, you'll need to make sure Maven (`mvn`) and Java 17 are available on your
Before installing, you'll need to make sure Maven (`mvn`) and Java 21 are available on your
path. If you're on mac, use `brew install maven`.

```shell
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
author = 'Charles Tapley Hoyt'

# The full version, including alpha/beta/rc tags.
release = '0.2.16-dev'
release = '0.2.16'

# The short X.Y version.
parsed_version = re.match(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta:__legacy__"

[tool.black]
line-length = 100
target-version = ["py37", "py38", "py39", "py310"]
target-version = ["py38", "py39", "py310", "py311", "py312"]

[tool.isort]
profile = "black"
Expand Down
10 changes: 5 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
##########################
[metadata]
name = pybacting
version = 0.2.16-dev
version = 0.2.16
description = A python wrapper around Bacting
long_description = file: README.md
long_description_content_type = text/markdown
Expand All @@ -17,8 +17,8 @@ project_urls =
# Author information
author = Charles Tapley Hoyt
author_email = [email protected]
maintainer = Charles Tapley Hoyt
maintainer_email = [email protected]
maintainer = Egon Willighagen
maintainer_email = [email protected]

# License information
license = MIT
Expand All @@ -31,11 +31,11 @@ classifiers =
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Programming Language :: Python :: 3 :: Only
Topic :: Scientific/Engineering :: Chemistry
keywords =
Expand All @@ -53,7 +53,7 @@ install_requires =

zip_safe = false
include_package_data = True
python_requires = >=3.8
python_requires = >=3.9

# Where is my code
packages = find:
Expand Down
5 changes: 4 additions & 1 deletion src/pybacting/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
]

WORKSPACE = "."
VERSION = "1.0.7"
VERSION = "1.0.10"

# The ones marked with "no" can't be loaded because they are POM-only
# artifacts. See the excellent explanation given by @ctrueden why at:
Expand Down Expand Up @@ -53,6 +53,9 @@
)
config.endpoints.extend(endpoints)

# We need at least Java 21
config.set_java_constraints(version="21")

# Connecting to the JVM is usually done implicitly, but since spreading
# the endpoints and instantiation across many classes causes a problem,
# it's better to consolidate them here and make instantiation explicit
Expand Down
2 changes: 1 addition & 1 deletion src/pybacting/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"get_git_hash",
]

VERSION = "0.2.16-dev"
VERSION = "0.2.16"


def get_git_hash() -> Optional[str]:
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ commands =
deps =
xdoctest
pygments
extras =
web

[testenv:coverage-report]
deps = coverage
Expand Down