Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove types setuptools and release 1.31 #1512

Merged
merged 14 commits into from
Aug 2, 2024
9 changes: 0 additions & 9 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,15 +304,6 @@ jobs:
cd pytket/tests
pip install -r requirements.txt
pytest --ignore=simulator/
- name: Test building docs
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
timeout-minutes: 20
run: |
pip install poetry==1.6.1
cd pytket/docs
poetry install
cd ../../
poetry run -C pytket/docs ./.github/workflows/build-docs

- name: Upload artifact
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
Expand Down
1 change: 0 additions & 1 deletion nix-support/pytket.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ in {
propagatedBuildInputs = with super.python3.pkgs; [
self.binders
super.lark
super.types-pkg_resources
super.qwasm
graphviz
networkx
Expand Down
11 changes: 0 additions & 11 deletions nix-support/third-party-python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,6 @@ self: super: {
nativeBuildInputs = with super.python3Packages; [ setuptools ];
doCheck = false;
};
types-pkg_resources = let
pname = "types-pkg_resources";
version = "0.1.3";
in super.python3.pkgs.buildPythonPackage {
inherit pname version;
src = super.fetchPypi {
inherit pname version;
sha256 = "sha256:g0qbjT2+o0NWL9mdXTNZpyb2v503M7zNK08wlvurna4=";
};
doCheck = false;
};
sympy' = super.python3.pkgs.buildPythonPackage rec{
# version bump - nixpkgs' version is 1.12 at the time of writing
pname = "sympy";
Expand Down
5 changes: 3 additions & 2 deletions pytket/docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
Changelog
=========

(unreleased)
------------
1.31.0 (August 2024)
--------------------

* Remove unnecessary types-pkg_resources dependency due to package being yanked from pypi
* add scratch_reg_resize_pass for decomposing temp bit register
* Update to pytket-circuit-renderer 0.9.

Expand Down
4 changes: 2 additions & 2 deletions pytket/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
author = "Quantinuum"

# The short X.Y version
version = "1.30"
version = "1.31"
# The full version, including alpha/beta/rc tags
release = "1.30.0"
release = "1.31.0"


# -- General configuration ---------------------------------------------------
Expand Down
2,423 changes: 0 additions & 2,423 deletions pytket/docs/poetry.lock

This file was deleted.

3 changes: 1 addition & 2 deletions pytket/docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ sphinx-copybutton = "^0.5.2"
jupyter-sphinx = "^0.5.3"
ipykernel = "^6.29.4"
enum-tools = {extras = ["sphinx"], version = "^0.12.0"}
pytket = "^1.29.2"
furo = "^2024.5.6"

pytket = "^1.31.0"

[build-system]
requires = ["poetry-core"]
Expand Down
1 change: 0 additions & 1 deletion pytket/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ def finalize_options(self):
"networkx >= 2.8.8",
"graphviz >= 0.20.3",
"jinja2 >= 3.1.4",
"types-pkg_resources >= 0.1.3",
"typing-extensions >= 4.12.2",
"qwasm >= 1.0.1",
],
Expand Down
Loading